From 46956edf7386e63571daa1a193c2973d382dc17b Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Mon, 26 Feb 2007 13:06:22 +0000 Subject: [PATCH] Add column alias, fixes bug 9104 --- includes/SpecialCategories.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialCategories.php b/includes/SpecialCategories.php index 13866a39e3..1cebdcc44d 100644 --- a/includes/SpecialCategories.php +++ b/includes/SpecialCategories.php @@ -20,7 +20,7 @@ class CategoryPager extends AlphabeticPager { function getQueryInfo() { return array( 'tables' => array('categorylinks'), - 'fields' => array('cl_to','count(*) count'), + 'fields' => array('cl_to','count(*) AS count'), 'options' => array('GROUP BY' => 'cl_to') ); } -- 2.20.1