woops typo in last fix
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 17 Sep 2005 07:33:51 +0000 (07:33 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 17 Sep 2005 07:33:51 +0000 (07:33 +0000)
maintenance/rebuildrecentchanges.inc

index 42e8602..ed742e4 100644 (file)
@@ -72,7 +72,7 @@ function rebuildRecentChangesTablePass2()
                                "AND rev_timestamp<'{$emit}' ORDER BY rev_timestamp DESC LIMIT 1";
                        $res2 = $dbw->query( $sql2 );
                        if( $row = $dbw->fetchObject( $res2 ) ) {
-                               $lastOldId = intval( $row->old_id );
+                               $lastOldId = intval( $row->rev_id );
                        } else {
                                # No previous edit
                                $lastOldId = 0;