mirror of
https://github.com/e107inc/e107.git
synced 2025-06-01 08:24:56 +02:00
From handler fix for empty class list combo box option (useful for e.g filters)
This commit is contained in:
parent
5065ef7e31
commit
0b74b8af7b
@ -551,7 +551,7 @@ class e_form
|
|||||||
$prefix = ' '.str_repeat('--', $nest_level - 1).'>';
|
$prefix = ' '.str_repeat('--', $nest_level - 1).'>';
|
||||||
$style = '';
|
$style = '';
|
||||||
}
|
}
|
||||||
return $this->option($prefix.$this->_uc->uc_get_classname($classnum), $classnum, in_array($classnum, $tmp), array("style"=>"{$style}"))."\n";
|
return $this->option($prefix.$this->_uc->uc_get_classname($classnum), $classnum, ($current_value !== '' && in_array($classnum, $tmp)), array("style"=>"{$style}"))."\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
function optgroup_open($label, $disabled = false)
|
function optgroup_open($label, $disabled = false)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user