aboutsummaryrefslogtreecommitdiff
path: root/mod/categories/actions/save.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/categories/actions/save.php')
-rw-r--r--mod/categories/actions/save.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/categories/actions/save.php b/mod/categories/actions/save.php
index dc2c7943b..3aa8b3261 100644
--- a/mod/categories/actions/save.php
+++ b/mod/categories/actions/save.php
@@ -8,7 +8,7 @@
$categories = get_input('categories');
$categories = string_to_tag_array($categories);
-$site = $CONFIG->site;
+$site = elgg_get_site_entity();
$site->categories = $categories;
system_message(elgg_echo("categories:save:success"));