Index: trunk/phase3/includes/Article.php |
— | — | @@ -2116,7 +2116,8 @@ |
2117 | 2117 | 'ar_text_id' => 'rev_text_id', |
2118 | 2118 | 'ar_text' => '\'\'', // Be explicit to appease |
2119 | 2119 | 'ar_flags' => '\'\'', // MySQL's "strict mode"... |
2120 | | - 'ar_len' => 'rev_len' |
| 2120 | + 'ar_len' => 'rev_len', |
| 2121 | + 'ar_page' => $id |
2121 | 2122 | ), array( |
2122 | 2123 | 'page_id' => $id, |
2123 | 2124 | 'page_id = rev_page' |