From 16386d422da602891ad90eda10729bd17d535986 Mon Sep 17 00:00:00 2001 From: gravyface Date: Tue, 23 Oct 2007 15:17:49 +0000 Subject: select COUNT(table.column) is illegal in SQL-92; changed to SELECT COUNT(*) --- Pigeonholes.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Pigeonholes.php') diff --git a/Pigeonholes.php b/Pigeonholes.php index bffc23e..caece5e 100644 --- a/Pigeonholes.php +++ b/Pigeonholes.php @@ -1,6 +1,6 @@ - * @version $Revision: 1.116 $ + * @version $Revision: 1.117 $ * @package pigeonholes */ @@ -181,7 +181,7 @@ class Pigeonholes extends LibertyAttachable { } $query_cant = " - SELECT count(pigm.*) + SELECT count(*) FROM `".BIT_DB_PREFIX."pigeonhole_members` pigm INNER JOIN `".BIT_DB_PREFIX."pigeonholes` pig ON ( pig.`content_id` = pigm.`parent_id` ) INNER JOIN `".BIT_DB_PREFIX."liberty_content` lc ON ( lc.`content_id` = pigm.`content_id` ) -- cgit v1.3