From: Brion Vibber Date: Sat, 11 Sep 2004 10:42:18 +0000 (+0000) Subject: It's traditional to put quotes around your strings. ;) X-Git-Tag: 1.5.0alpha1~2022 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=e2f55657b64cda01b58e1c978aafd3e7e1f8f0c9;p=lhc%2Fweb%2Fwiklou.git It's traditional to put quotes around your strings. ;) --- diff --git a/maintenance/InitialiseMessages.inc b/maintenance/InitialiseMessages.inc index 954e143752..1b62470d0b 100755 --- a/maintenance/InitialiseMessages.inc +++ b/maintenance/InitialiseMessages.inc @@ -121,17 +121,17 @@ function initialiseMessages( $overwrite = false, $messageArray = false ) { } $doInsert = false; } else { - array_push($arr,array( - cur_namespace=>$ns, - cur_title=>$title, - cur_text=>$dbencMsg, - cur_user=>0, - cur_user_text=>$username, - cur_timestamp=>$dbw->timestamp($timestamp), - cur_restrictions=>'sysop', - cur_is_new=>1, - inverse_timestamp=>$invTimestamp, - cur_touched=>$dbw->timestamp($timestamp))); + array_push( $arr, array( + 'cur_namespace' => $ns, + 'cur_title' => $title, + 'cur_text' => $dbencMsg, + 'cur_user' => 0, + 'cur_user_text' => $username, + 'cur_timestamp' => $dbw->timestamp( $timestamp ), + 'cur_restrictions' => 'sysop', + 'cur_is_new' => 1, + 'inverse_timestamp' => $invTimestamp, + 'cur_touched' => $dbw->timestamp( $timestamp ) ) ); } }