diff options
author | mistic100 <mistic@piwigo.org> | 2014-05-26 22:03:57 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2014-05-26 22:03:57 +0000 |
commit | a5b2cf82007ac1b2461ba86b79c48e43c2640053 (patch) | |
tree | 9cc97025f60101372081320a1fe9f56a8b69451e /include/ws_functions/pwg.categories.php | |
parent | b97c45b941170247107445ce4a8fffbae8267c1e (diff) |
feature 3077 : factorize code for categories cache (TODO for other collections) + fix incorrect categories list for dissociation
git-svn-id: http://piwigo.org/svn/trunk@28542 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/ws_functions/pwg.categories.php')
-rw-r--r-- | include/ws_functions/pwg.categories.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ws_functions/pwg.categories.php b/include/ws_functions/pwg.categories.php index da2706ab2..5ed387e70 100644 --- a/include/ws_functions/pwg.categories.php +++ b/include/ws_functions/pwg.categories.php @@ -489,7 +489,7 @@ SELECT category_id, COUNT(*) AS counter $nb_images_of = query2array($query, 'category_id', 'counter'); $query = ' -SELECT id, name, comment, uppercats, global_rank +SELECT id, name, comment, uppercats, global_rank, dir FROM '. CATEGORIES_TABLE .' ;'; $result = pwg_query($query); |