1. marc0s
  2. lorea

Commits

sembrestels  committed 36c40ed

Bug fix for one of the last commits

  • Participants
  • Parent commits a44adf3
  • Branches default

Comments (0)

Files changed (1)

File elgg/mod/groups/actions/edit.php

View file
  • Ignore whitespace
 // 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') {
 	$visibility = (int)get_input('vis','',false);
-	$group->access_id = $visibility==ACCESS_PRIVATE ? $group->guid : $visibility;//echo $group->access_id;exit();
+	$group->access_id = $visibility==ACCESS_PRIVATE ? $group->group_acl : $visibility;//echo $group->access_id;exit();
 	$group->save();
 }