From: Aaron Schulz Date: Tue, 19 Mar 2019 18:36:19 +0000 (-0700) Subject: Fix selectRow() parameters in PopulateCategory X-Git-Tag: 1.34.0-rc.0~2462^2 X-Git-Url: http://git.cyclocoop.org//%27http:/code.google.com/p/ie7-js//%27?a=commitdiff_plain;h=2e6a9bb2d8ef0139f41c83bc2abedbfdf980b4e8;p=lhc%2Fweb%2Fwiklou.git Fix selectRow() parameters in PopulateCategory Change-Id: Ib538657d5db889cd7c8a9ae694c60e92e13584f5 --- 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;