From: Roan Kattouw Date: Tue, 25 Jul 2017 23:20:37 +0000 (-0700) Subject: Follow-up 993ce4d: use pp_page for $lastPageValue, not pp_value X-Git-Tag: 1.31.0-rc.0~2593 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27user_edit%27%2C%20userid=session.user.id%29%20%7D%7D?a=commitdiff_plain;h=a3d8d1a1b1e4ea659c80ba4ca8cfb008aabfeeac;p=lhc%2Fweb%2Fwiklou.git 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 --- 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; }