From 805935655a55705ff012da584ced0af306f863d7 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sat, 29 May 2004 20:59:14 +0000 Subject: [PATCH] fix notices related with an incorrect sql query --- includes/SpecialDeadendpages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialDeadendpages.php b/includes/SpecialDeadendpages.php index 84641a5d51..9e730b170d 100644 --- a/includes/SpecialDeadendpages.php +++ b/includes/SpecialDeadendpages.php @@ -15,7 +15,7 @@ class DeadendPagesPage extends PageQueryPage { } function getSQL( $offset, $limit ) { - return "SELECT cur_title as title, 0 as value " . + return "SELECT cur_namespace AS namespace, cur_title as title, 0 as value " . "FROM cur LEFT JOIN links ON cur_id = l_from " . "WHERE l_from IS NULL " . "AND cur_namespace = 0 " . -- 2.20.1