diff options
Diffstat (limited to 'mod/groups')
-rw-r--r-- | mod/groups/actions/edit.php | 2 | ||||
-rw-r--r-- | mod/groups/views/default/forms/groups/edit.php | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php index 7d24a3c00..8c472d281 100644 --- a/mod/groups/views/default/forms/groups/edit.php +++ b/mod/groups/views/default/forms/groups/edit.php @@ -63,7 +63,7 @@ if ($group_profile_fields > 0) { <?php -if (get_plugin_setting('hidden_groups', 'groups') == 'yes') { +if (elgg_get_plugin_setting('hidden_groups', 'groups') == 'yes') { $this_owner = $vars['entity']->owner_guid; if (!$this_owner) { $this_owner = elgg_get_logged_in_user_guid(); |