dont show more lines in multiselectbox as we have values

This commit is contained in:
Ralf Becker 2012-02-21 09:28:57 +00:00
parent 018dc6b84d
commit 7e19d8c00a

View File

@ -539,7 +539,7 @@
{
if (!is_array($default)) $default = explode(',',$default);
$select = html::input_hidden($GLOBALS['type'].'['.$name.']','',false); // causes bosettings not to ignore unsetting all
$select .= html::checkbox_multiselect($GLOBALS['type'].'['.$name.']',$default,$values,true,'',5);
$select .= html::checkbox_multiselect($GLOBALS['type'].'['.$name.']',$default,$values,true,'',min(5,count($values)));
}
if($GLOBALS['type'] == 'user' && (string)$GLOBALS['egw']->preferences->default[$_appname][$name] !== '')
{