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

This commit is contained in:
alpeb 2004-03-02 04:08:59 +00:00
parent e56c40e8c4
commit 9f17551049

View File

@ -849,7 +849,7 @@
. $GLOBALS['phpgw']->common->display_fullname($ac_name[$ac_id]['lid'],$ac_name[$ac_id]['firstname'],$ac_name[$ac_id]['lastname'])
. '</option>'."\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);