forked from extern/egroupware
Fix validation of select values in an optgroup always failed
This commit is contained in:
parent
3389bdd4b8
commit
dee0caa875
@ -448,7 +448,7 @@ class Select extends Etemplate\Widget
|
||||
{
|
||||
if (is_array($val))
|
||||
{
|
||||
if (isset($val['value']))
|
||||
if (isset($val['value']) && count($val) <= 2)
|
||||
{
|
||||
$values[] = $val['value'];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user