X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2FpopulateCategory.php;h=508960d725d7ee465118f76ec08091826bb0b964;hp=f07bc5526f12e14b69ce982bbc0a2c0a8bcb6c68;hb=dfec83932fd38a9086eb5a2e212889ad00f35b0e;hpb=fbc9e214e7c6f687e7dc3a3178e60f4164ed9ad6 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;