diff --git a/Database/Command.php b/Database/Command.php index d0a927b7..26bc33a5 100644 --- a/Database/Command.php +++ b/Database/Command.php @@ -205,7 +205,7 @@ class Command extends Component } } catch (\Throwable | Exception $exception) { $this->addError($this->sql . '. error: ' . $exception->getMessage(), 'mysql'); - $result = null; + $result = []; } finally { return $result; }