X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fsqlite.php;h=e74a86cf6961495a2e114af6ff3cef406aeabbf6;hb=252fa957ad2442d25ce2d5b7f06ecfd71da2c1f9;hp=454c506365a3f525ac837ee5cf196c6dfc9ca62d;hpb=6fa889309d6dde3bcfd1c5f939e317abf0f3e790;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/sqlite.php b/maintenance/sqlite.php index 454c506365..e74a86cf69 100644 --- a/maintenance/sqlite.php +++ b/maintenance/sqlite.php @@ -132,7 +132,7 @@ class SqliteMaintenance extends Maintenance { $this->error( "Error: SQLite support not found\n" ); } $files = [ $this->getOption( 'check-syntax' ) ]; - $files += $this->mArgs; + $files = array_merge( $files, $this->mArgs ); $result = Sqlite::checkSqlSyntax( $files ); if ( $result === true ) { $this->output( "SQL syntax check: no errors detected.\n" );