diff options
Diffstat (limited to '')
-rw-r--r-- | include/category_default.inc.php | 2 |
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'); } } |