Yet another attempt to fix the populateIpChanges script
[lhc/web/wiklou.git] / maintenance / populateIpChanges.php
index 17f49ee..f7bcc12 100644 (file)
@@ -88,7 +88,8 @@ TEXT
                        $numRows = $rows->numRows();
 
                        if ( !$rows || $numRows === 0 ) {
-                               break;
+                               $blockStart = $blockEnd + 1;
+                               continue;
                        }
 
                        $this->output( "...checking $numRows revisions for IP edits that need copying, " .