From 949a233076ec18f86e60f90a7a8837cb422664af Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 3 Feb 2011 03:33:52 +0000 Subject: Refs #2428 almost done removing CONFIG access - mostly plugin start.php left git-svn-id: http://code.elgg.org/elgg/trunk@7999 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/categories/actions/save.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/categories/actions') 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")); -- cgit v1.2.3