diff options
Diffstat (limited to 'mod/groups/views')
-rw-r--r-- | mod/groups/views/default/groups/grouplisting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/views/default/groups/grouplisting.php b/mod/groups/views/default/groups/grouplisting.php index 48a7b1ace..687aebfa0 100644 --- a/mod/groups/views/default/groups/grouplisting.php +++ b/mod/groups/views/default/groups/grouplisting.php @@ -19,7 +19,7 @@ $icon = elgg_view( //get the membership type $membership = $vars['entity']->membership; -if($membership == 2) { +if($membership == ACCESS_PUBLIC) { $mem = elgg_echo("groups:open"); } else { $mem = elgg_echo("groups:closed"); |