X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpopulateCategory.php;h=508960d725d7ee465118f76ec08091826bb0b964;hb=82bd6b026ef6ecb7f2fe15acaa40c608680dfff1;hp=f07bc5526f12e14b69ce982bbc0a2c0a8bcb6c68;hpb=5f27c2fc6503b37ef5a842e78082f6cc53ad0c1d;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;