From: Sam Reed Date: Sat, 15 Oct 2011 23:24:32 +0000 (+0000) Subject: Bug 31249 - Special:BrokenRedirects broken since 1.18 X-Git-Tag: 1.31.0-rc.0~27076 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=2da972c2fe7f57249fcd9d2663c9e3b340ddccf8;p=lhc%2Fweb%2Fwiklou.git Bug 31249 - Special:BrokenRedirects broken since 1.18 --- diff --git a/includes/specials/SpecialBrokenRedirects.php b/includes/specials/SpecialBrokenRedirects.php index 61f7e7a6ef..771e99191b 100644 --- a/includes/specials/SpecialBrokenRedirects.php +++ b/includes/specials/SpecialBrokenRedirects.php @@ -53,7 +53,7 @@ class BrokenRedirectsPage extends PageQueryPage { 'conds' => array( 'rd_namespace >= 0', 'p2.page_namespace IS NULL' ), - 'join_conds' => array( 'p1' => array( 'LEFT JOIN', array( + 'join_conds' => array( 'p1' => array( 'JOIN', array( 'rd_from=p1.page_id', ) ), 'p2' => array( 'LEFT JOIN', array(