diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-05 21:39:02 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-05 21:39:02 +0000 |
commit | 59b6d85ff21c181718a367e40bdfd1c56c2be3a2 (patch) | |
tree | 88f3586688bbf82bc1c4cc1f0f045fb17bfff9c5 /mod/groups/actions | |
parent | b878ea5e67cf47aad416aadd0e6ecae1c56da4b9 (diff) | |
download | elgg-59b6d85ff21c181718a367e40bdfd1c56c2be3a2.tar.gz elgg-59b6d85ff21c181718a367e40bdfd1c56c2be3a2.tar.bz2 |
fixed a bug with invisible groups - saving and display both had a problem
git-svn-id: http://code.elgg.org/elgg/trunk@8592 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/actions')
-rw-r--r-- | mod/groups/actions/groups/edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/actions/groups/edit.php b/mod/groups/actions/groups/edit.php index 331c80be0..3a0376497 100644 --- a/mod/groups/actions/groups/edit.php +++ b/mod/groups/actions/groups/edit.php @@ -99,7 +99,7 @@ if ($new_group_flag) { // Invisible group support if (elgg_get_plugin_setting('hidden_groups', 'groups') == 'yes') { $visibility = (int)get_input('vis', '', false); - if ($visibility != ACCESS_PUBLIC || $visibility != ACCESS_LOGGED_IN) { + if ($visibility != ACCESS_PUBLIC && $visibility != ACCESS_LOGGED_IN) { $visibility = $group->group_acl; } |