From 59b6d85ff21c181718a367e40bdfd1c56c2be3a2 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 5 Mar 2011 21:39:02 +0000 Subject: 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 --- mod/groups/views/default/forms/groups/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/groups/views/default') diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php index 8b5a3c33e..1a4e95513 100644 --- a/mod/groups/views/default/forms/groups/edit.php +++ b/mod/groups/views/default/forms/groups/edit.php @@ -9,7 +9,7 @@ if (isset($vars['entity'])) { $membership = $vars['entity']->membership; $access = $vars['entity']->access_id; - if ($access != ACCESS_PUBLIC || ACCESS_LOGGED_IN) { + if ($access != ACCESS_PUBLIC && $access != ACCESS_LOGGED_IN) { // group only - this is done to handle access not created when group is created $access = ACCESS_PRIVATE; } -- cgit v1.2.3