aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_functions/pwg.categories.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-03-24 09:52:40 +0100
committerplegall <plg@piwigo.org>2016-03-24 09:52:40 +0100
commitc9c10bd5241adb9f0dd509cee63c5278d7b5adb0 (patch)
tree725429d0b219cd3627558ac4987e0d03899a8aff /include/ws_functions/pwg.categories.php
parent9f15161b62a607967127f1dab96b4f18cd66adb7 (diff)
fixes #442, forgot to include admin functions
Diffstat (limited to '')
-rw-r--r--include/ws_functions/pwg.categories.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ws_functions/pwg.categories.php b/include/ws_functions/pwg.categories.php
index 502c8f18d..79b27d75e 100644
--- a/include/ws_functions/pwg.categories.php
+++ b/include/ws_functions/pwg.categories.php
@@ -614,6 +614,7 @@ SELECT *
if ($params['status'] != $category['status'])
{
+ include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
set_cat_status(array($params['category_id']), $params['status']);
}
}