mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Don't send blank row option for read-only selectboxes. It's not needed, and can conflict with non-readonly (nm filter vs row)
This commit is contained in:
parent
9bb8bed02b
commit
02db5d0357
@ -663,7 +663,7 @@ class etemplate_widget_menupopup extends etemplate_widget
|
||||
}
|
||||
break;
|
||||
}
|
||||
if ($rows > 1)
|
||||
if ($rows > 1 || $readonly)
|
||||
{
|
||||
unset($options['']);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user