mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +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;
|
break;
|
||||||
}
|
}
|
||||||
if ($rows > 1)
|
if ($rows > 1 || $readonly)
|
||||||
{
|
{
|
||||||
unset($options['']);
|
unset($options['']);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user