aboutsummaryrefslogtreecommitdiffstats
path: root/mod/group.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/group.php')
-rw-r--r--mod/group.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/group.php b/mod/group.php
index dc5dd3c71..56c3e21d1 100644
--- a/mod/group.php
+++ b/mod/group.php
@@ -136,12 +136,14 @@ function group_content(&$a) {
'$delete' => t('Delete')
));
+ $celeb = ((($a->user['page-flags'] == PAGE_SOAPBOX) || ($a->user['page-flags'] == PAGE_COMMUNITY)) ? true : false);
+
$tpl = load_view_file('view/group_edit.tpl');
$o .= replace_macros($tpl, array(
'$gid' => $group['id'],
'$name' => $group['name'],
'$drop' => $drop_txt,
- '$selector' => contact_select('group_members_select','group_members_select',$preselected,25)
+ '$selector' => contact_select('group_members_select','group_members_select',$preselected,25,false,$celeb)
));
}