aboutsummaryrefslogtreecommitdiffstats
path: root/include/category_default.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2014-02-13 22:21:12 +0000
committerrvelices <rv-github@modusoptimus.com>2014-02-13 22:21:12 +0000
commit2b81fbc4aa00ab4fcef794083c3f8e2d6bfe314e (patch)
tree08dae87951f3b196063d30fbae5b1fb12c441c87 /include/category_default.inc.php
parentd0733822cebce4c1314ee3e70e4e5ce84df98640 (diff)
more query2array
git-svn-id: http://piwigo.org/svn/trunk@27369 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/category_default.inc.php2
1 files changed, 1 insertions, 1 deletions
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');
}
}