From 2e6a9bb2d8ef0139f41c83bc2abedbfdf980b4e8 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 19 Mar 2019 11:36:19 -0700 Subject: [PATCH] Fix selectRow() parameters in PopulateCategory Change-Id: Ib538657d5db889cd7c8a9ae694c60e92e13584f5 --- maintenance/populateCategory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1