aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/views/default')
-rw-r--r--mod/groups/views/default/forms/groups/edit.php2
1 files changed, 1 insertions, 1 deletions
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;
}