aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/actions')
-rw-r--r--mod/groups/actions/edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/actions/edit.php b/mod/groups/actions/edit.php
index e10739244..baa1a7065 100644
--- a/mod/groups/actions/edit.php
+++ b/mod/groups/actions/edit.php
@@ -72,7 +72,7 @@ switch (get_input('membership')) {
}
// Set access - all groups are public from elgg's point of view, unless the override is in place
-if (get_plugin_setting('hidden_groups', 'groups') == 'yes') {
+if (elgg_get_plugin_setting('hidden_groups', 'groups') == 'yes') {
$visibility = (int)get_input('vis','',false);
$group->access_id = $visibility;