mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 08:43:31 +02:00
more query2array
git-svn-id: http://piwigo.org/svn/trunk@27369 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user