From: Domas Mituzas Date: Sun, 29 Mar 2009 11:14:08 +0000 (+0000) Subject: Aaron is lazy, but right :) X-Git-Tag: 1.31.0-rc.0~42296 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=569a3c93f01292f72a838340f42da20a05d2f007;p=lhc%2Fweb%2Fwiklou.git Aaron is lazy, but right :) --- diff --git a/includes/specials/SpecialRecentchanges.php b/includes/specials/SpecialRecentchanges.php index 9aec76189c..b0eb591dd4 100644 --- a/includes/specials/SpecialRecentchanges.php +++ b/includes/specials/SpecialRecentchanges.php @@ -287,7 +287,7 @@ class SpecialRecentChanges extends SpecialPage { } if ($wgUser->isAllowed("rollback")) { $tables[] = 'page'; - $join_conds['page'] = array('LEFT JOIN', 'rc_namespace=page_namespace AND rc_title=page_title AND rc_this_oldid=page_latest'); + $join_conds['page'] = array('LEFT JOIN', 'rc_cur_id=page_id'); } // Tag stuff. $fields = array(); // Fields are * in this case, so let the function modify an empty array to keep it happy.