aboutsummaryrefslogtreecommitdiffstats
path: root/includes/SpecialBrokenRedirects.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialBrokenRedirects.php')
-rw-r--r--includes/SpecialBrokenRedirects.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/SpecialBrokenRedirects.php b/includes/SpecialBrokenRedirects.php
index 41011209dab1..4c3a8ed0c12f 100644
--- a/includes/SpecialBrokenRedirects.php
+++ b/includes/SpecialBrokenRedirects.php
@@ -38,7 +38,7 @@ class BrokenRedirectsPage extends PageQueryPage {
p1.page_title AS title,
pl_namespace,
pl_title
- FROM $pagelinks, $page AS p1
+ FROM ($pagelinks, $page AS p1)
LEFT JOIN $page AS p2
ON pl_namespace=p2.page_namespace AND pl_title=p2.page_title
WHERE p1.page_is_redirect=1