From 54cf9362f50b03ed00125f8a220e15a85ceaa106 Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 3 Oct 2008 20:38:12 +0000 Subject: bug 880 fixed: pwg.categories.add invalidate the user cache so that the new category is added to the user category tree. git-svn-id: http://piwigo.org/svn/trunk@2644 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/ws_functions.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php index 2462832e5..31167e1ad 100644 --- a/include/ws_functions.inc.php +++ b/include/ws_functions.inc.php @@ -1395,6 +1395,8 @@ function ws_categories_add($params, &$service) return new PwgError(500, $creation_output['error']); } + invalidate_user_cache(); + return $creation_output; } -- cgit v1.2.3