X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpopulateCategory.php;h=508960d725d7ee465118f76ec08091826bb0b964;hb=f168493b57426650102f2aee66c05a7d5f4d7e31;hp=f07bc5526f12e14b69ce982bbc0a2c0a8bcb6c68;hpb=ee975d6d1a376bb08d2b1731f97abc96f6e26b1d;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateCategory.php b/maintenance/populateCategory.php index f07bc5526f..508960d725 100644 --- a/maintenance/populateCategory.php +++ b/maintenance/populateCategory.php @@ -93,9 +93,9 @@ TEXT $throttle = intval( $throttle ); if ( $begin !== '' ) { - $where = 'cl_to > ' . $dbw->addQuotes( $begin ); + $where = [ 'cl_to > ' . $dbw->addQuotes( $begin ) ]; } else { - $where = null; + $where = [ '1 = 1' ]; } $i = 0; @@ -137,7 +137,7 @@ TEXT 'updatelog', [ 'ul_key' => 'populate category' ], __METHOD__, - 'IGNORE' + [ 'IGNORE' ] ); return true;