From: Brion Vibber Date: Tue, 8 Jun 2004 07:03:53 +0000 (+0000) Subject: Fix query X-Git-Tag: 1.5.0alpha1~2995 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=9133791d9bbbf700e95a3720cc390ee2924e1ed0;p=lhc%2Fweb%2Fwiklou.git Fix query --- diff --git a/includes/SpecialDeadendpages.php b/includes/SpecialDeadendpages.php index 2e1335e780..a571d68388 100644 --- a/includes/SpecialDeadendpages.php +++ b/includes/SpecialDeadendpages.php @@ -18,8 +18,8 @@ class DeadendPagesPage extends PageQueryPage { return false; } - function getSQL( $offset, $limit ) { - return "SELECT cur_namespace AS namespace, cur_title as title, cur_title AS value " . + function getSQL() { + return "SELECT 'Deadendpages' as type, cur_namespace AS namespace, cur_title as title, cur_title AS value " . "FROM cur LEFT JOIN links ON cur_id = l_from " . "WHERE l_from IS NULL " . "AND cur_namespace = 0 " .