diff options
author | mistic100 <mistic@piwigo.org> | 2014-05-17 12:11:47 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2014-05-17 12:11:47 +0000 |
commit | f932ee79df9ad48a16822dc12518b234836ce926 (patch) | |
tree | 6953a024ec5a8a629d23223e6cf11dcda637e231 /include/ws_functions | |
parent | 8296fb3db493bf34fe8ed2760e2d9f95e8374e1d (diff) |
feature 3077 : use Selectize with AJAX load/cache on picture_modify
git-svn-id: http://piwigo.org/svn/trunk@28494 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/ws_functions/pwg.categories.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/ws_functions/pwg.categories.php b/include/ws_functions/pwg.categories.php index 47dbc4735..da2706ab2 100644 --- a/include/ws_functions/pwg.categories.php +++ b/include/ws_functions/pwg.categories.php @@ -486,7 +486,7 @@ SELECT category_id, COUNT(*) AS counter FROM '. IMAGE_CATEGORY_TABLE .' GROUP BY category_id ;'; - $nb_images_of = simple_hash_from_query($query, 'category_id', 'counter'); + $nb_images_of = query2array($query, 'category_id', 'counter'); $query = ' SELECT id, name, comment, uppercats, global_rank @@ -507,6 +507,12 @@ SELECT id, name, comment, uppercats, global_rank 'ws_categories_getAdminList' ) ); + $row['fullname'] = strip_tags( + get_cat_display_name_cache( + $row['uppercats'], + null + ) + ); $row['comment'] = strip_tags( trigger_event( 'render_category_description', |