From: Alexandre Emsenhuber Date: Wed, 22 Dec 2010 15:29:29 +0000 (+0000) Subject: We need to select the namespace, even hardcoded, this is causing: Notice: Undefined... X-Git-Tag: 1.31.0-rc.0~33189 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=21d4553a025e981ae9112a01d117e1b4b495d300;p=lhc%2Fweb%2Fwiklou.git We need to select the namespace, even hardcoded, this is causing: Notice: Undefined property: stdClass::$namespace in includes/QueryPage.php on line 307 --- diff --git a/includes/specials/SpecialMostlinkedcategories.php b/includes/specials/SpecialMostlinkedcategories.php index 75ecd93d61..f491a70282 100644 --- a/includes/specials/SpecialMostlinkedcategories.php +++ b/includes/specials/SpecialMostlinkedcategories.php @@ -42,6 +42,7 @@ class MostlinkedCategoriesPage extends QueryPage { return array ( 'tables' => array ( 'categorylinks' ), 'fields' => array ( 'cl_to AS title', + NS_CATEGORY . ' AS namespace', 'COUNT(*) AS value' ), 'options' => array ( 'GROUP BY' => 'cl_to' ) );