From: Antoine Musso Date: Sat, 29 May 2004 20:59:14 +0000 (+0000) Subject: fix notices related with an incorrect sql query X-Git-Tag: 1.5.0alpha1~3147 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=805935655a55705ff012da584ced0af306f863d7;p=lhc%2Fweb%2Fwiklou.git fix notices related with an incorrect sql query --- 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 " .