more query2array

git-svn-id: http://piwigo.org/svn/trunk@27369 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices 2014-02-13 22:21:12 +00:00
commit 2b81fbc4aa
6 changed files with 15 additions and 39 deletions

View file

@ -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');
}
}