From a3d8d1a1b1e4ea659c80ba4ca8cfb008aabfeeac Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Tue, 25 Jul 2017 16:20:37 -0700 Subject: [PATCH] Follow-up 993ce4d: use pp_page for $lastPageValue, not pp_value This caused the script to get in an infinite loop and never stop. Change-Id: Ib28a033e82b76fd60005335b882a7f5d95ac6644 --- maintenance/populatePPSortKey.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/populatePPSortKey.php b/maintenance/populatePPSortKey.php index 519c6653a9..fd7974dabf 100644 --- a/maintenance/populatePPSortKey.php +++ b/maintenance/populatePPSortKey.php @@ -88,7 +88,7 @@ class PopulatePPSortKey extends LoggedUpdateMaintenance { $this->commitTransaction( $dbw, __METHOD__ ); // We need to get the last element's page ID - $lastPageValue = $row->pp_value; + $lastPageValue = $row->pp_page; // And the propname... $lastProp = $row->pp_propname; } -- 2.20.1