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
parent d0733822ce
commit 2b81fbc4aa
6 changed files with 15 additions and 39 deletions

View file

@ -113,7 +113,7 @@ function get_cat_display_name_cache($uppercats,
SELECT id, name, permalink
FROM '.CATEGORIES_TABLE.'
;';
$cache['cat_names'] = hash_from_query($query, 'id');
$cache['cat_names'] = query2array($query, 'id');
}
$output = '';