aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/ws_functions/pwg.categories.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ws_functions/pwg.categories.php b/include/ws_functions/pwg.categories.php
index d77b88580..47dbc4735 100644
--- a/include/ws_functions/pwg.categories.php
+++ b/include/ws_functions/pwg.categories.php
@@ -459,7 +459,7 @@ SELECT id, path, representative_ext
if ($params['tree_output'])
{
- $cats = categories_flatlist_to_tree($cats);
+ return categories_flatlist_to_tree($cats);
}
return array(