diff options
author | Ben Burgess <88810029+bx80@users.noreply.github.com> | 2022-08-01 01:38:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-01 01:38:35 +0300 |
commit | 3d1ed3f5585062e8eb6e38efab49b096e44155e4 (patch) | |
tree | 24516359d93159d3b6b4ff4663b0a97733639658 | |
parent | 888f167a3cc10b6197cfcb71c2cea62fcd49f4fb (diff) |
Update core/Updater/Migration/Db/Sql.phpm-19572-ignore-errorcode-config
Co-authored-by: Stefan Giehl <stefan@matomo.org>
-rw-r--r-- | core/Updater/Migration/Db/Sql.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Updater/Migration/Db/Sql.php b/core/Updater/Migration/Db/Sql.php index 7b4bbe5a97..638622d6fb 100644 --- a/core/Updater/Migration/Db/Sql.php +++ b/core/Updater/Migration/Db/Sql.php @@ -43,7 +43,7 @@ class Sql extends DbMigration } $this->sql = $sql; - $globalErrorCodesToIgnore = Config::getInstance()->database['ignore_error_codes']; + $globalErrorCodesToIgnore = Config::getInstance()->database['ignore_error_codes'] ?? []; $this->errorCodesToIgnore = array_merge($errorCodesToIgnore, (is_array($globalErrorCodesToIgnore) ? $globalErrorCodesToIgnore : [])); } |