[TikiWiki-commits] [Git][tikiwiki/tiki][tiki-fix-warnings] [FIX] tiki-check.php: Update array initialization syntax for consistency

"Sammy Ndabo \(@ndabosam084\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6912008c9375c_2ce2ab8407b1@gitlab-sidekiq-low-urgency-cpu-bound-v2-6ffb4cd6d8-qkwpc.mail>

Sammy Ndabo pushed to branch tiki-fix-warnings at Tiki Wiki CMS Groupware / Tiki


Commits:
b5eaf7dc by Sammy Ndabo at 2025-11-10T18:11:09+03:00
[FIX] tiki-check.php: Update array initialization syntax for consistency

- - - - -


1 changed file:

- tiki-check.php


Changes:

=====================================
tiki-check.php
=====================================
@@ -3659,7 +3659,7 @@ function processKeyFields(&$alterTableFile, $tableName, $keyFields, $isUnique =
 // Function used to check db mismatches
 function check_db_mismatches()
 {
-    $diffDbColumns = [];
+    $diffDbColumns = array();
     $tikiSql = file_get_contents('db/tiki.sql');
     preg_match_all('/CREATE TABLE (?:.(?!;[^\S]))+./s', $tikiSql, $tables);
     preg_match_all("/ALTER TABLE (?:.(?!;[^\S]))+./s", $tikiSql, $alterTables);



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/b5eaf7dca0ed3babdd15e4ae3cfcab5a7d04c37f

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/b5eaf7dca0ed3babdd15e4ae3cfcab5a7d04c37f
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.