From 9f17551049664d54a70d45bfdc64fcc383701b0a Mon Sep 17 00:00:00 2001 From: alpeb Date: Tue, 2 Mar 2004 04:08:59 +0000 Subject: [PATCH] when using popup for selecting users to add to a group, if there was only one member in the group new members added weren't shown in the select box because there was no scrolling bar, so now I made it at least five lines big --- admin/inc/class.uiaccounts.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/inc/class.uiaccounts.inc.php b/admin/inc/class.uiaccounts.inc.php index d233b96641..410d05c08d 100755 --- a/admin/inc/class.uiaccounts.inc.php +++ b/admin/inc/class.uiaccounts.inc.php @@ -849,7 +849,7 @@ . $GLOBALS['phpgw']->common->display_fullname($ac_name[$ac_id]['lid'],$ac_name[$ac_id]['firstname'],$ac_name[$ac_id]['lastname']) . ''."\n"; } - $account_num = count($group_info['account_user']); + $account_num = max(count($group_info['account_user']),5); $p->set_var('select_size',($account_num < 25?$account_num:25)); $p->set_var('user_list',$user_list); $p->fp('accounts','popwin',True);