Index: trunk/phase3/includes/specials/SpecialRecentchanges.php |
— | — | @@ -287,7 +287,7 @@ |
288 | 288 | } |
289 | 289 | if ($wgUser->isAllowed("rollback")) { |
290 | 290 | $tables[] = 'page'; |
291 | | - $join_conds['page'] = array('LEFT JOIN', 'rc_namespace=page_namespace AND rc_title=page_title AND rc_this_oldid=page_latest'); |
| 291 | + $join_conds['page'] = array('LEFT JOIN', 'rc_cur_id=page_id'); |
292 | 292 | } |
293 | 293 | // Tag stuff. |
294 | 294 | $fields = array(); // Fields are * in this case, so let the function modify an empty array to keep it happy. |