X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpopulateCategory.php;h=ce1506ca49d3e4287fec8d4f138208c1166faea7;hb=e8805741ed75a6f1fec01bc39962af75e6111c1c;hp=f07bc5526f12e14b69ce982bbc0a2c0a8bcb6c68;hpb=824936c08f91ed2a75eda63184bb8aa8e600c684;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateCategory.php b/maintenance/populateCategory.php index f07bc5526f..ce1506ca49 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;