fix notices related with an incorrect sql query
authorAntoine Musso <hashar@users.mediawiki.org>
Sat, 29 May 2004 20:59:14 +0000 (20:59 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sat, 29 May 2004 20:59:14 +0000 (20:59 +0000)
includes/SpecialDeadendpages.php

index 84641a5..9e730b1 100644 (file)
@@ -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 " .