From 2b81fbc4aa00ab4fcef794083c3f8e2d6bfe314e Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 13 Feb 2014 22:21:12 +0000 Subject: more query2array git-svn-id: http://piwigo.org/svn/trunk@27369 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/category_default.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/category_default.inc.php') diff --git a/include/category_default.inc.php b/include/category_default.inc.php index 59f2195b0..192fcb7d2 100644 --- a/include/category_default.inc.php +++ b/include/category_default.inc.php @@ -84,7 +84,7 @@ SELECT image_id, COUNT(*) AS nb_comments AND image_id IN ('.implode(',', $selection).') GROUP BY image_id ;'; - $nb_comments_of = simple_hash_from_query($query, 'image_id', 'nb_comments'); + $nb_comments_of = query2array($query, 'image_id', 'nb_comments'); } } -- cgit v1.2.3