mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
allow default label, even if switched to multiple, as it might stay if switch happens on clientside
This commit is contained in:
parent
65b3cee7ab
commit
823e2b62c0
@ -84,7 +84,7 @@ class etemplate_widget_menupopup extends etemplate_widget
|
||||
$value = $value_in = self::get_array($content, $form_name);
|
||||
|
||||
$allowed = self::selOptions($form_name, true); // true = return array of option-values
|
||||
if (!$this->attrs['multiple']) $allowed[] = '';
|
||||
if (!$this->attrs['multiple'] || !($this->attrs['options'] > 1)) $allowed[] = '';
|
||||
|
||||
foreach((array) $value as $val)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user