Index: trunk/phase3/includes/Revision.php |
— | — | @@ -277,7 +277,7 @@ |
278 | 278 | __METHOD__, |
279 | 279 | array( 'LIMIT' => 1 ), |
280 | 280 | array( 'page' => array( 'INNER JOIN', 'page_id = rev_page' ), |
281 | | - 'user' => array( 'LEFT JOIN', 'user_id = rev_user' ) ) |
| 281 | + 'user' => array( 'LEFT JOIN', 'rev_user != 0 AND user_id = rev_user' ) ) |
282 | 282 | ); |
283 | 283 | } |
284 | 284 | |