mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 03:24:20 +02:00
Fix for missing dropdown selection in admin-ui edit mode.
This commit is contained in:
@@ -3240,7 +3240,8 @@ var_dump($select_options);*/
|
||||
}
|
||||
else
|
||||
{
|
||||
$sel = is_array($selected) ? in_array($value, $selected) : ($value === $selected);
|
||||
|
||||
$sel = is_array($selected) ? in_array($value, $selected) : ($value == $selected); // comparison as int/string currently required for admin-ui to function correctly.
|
||||
|
||||
if(!empty($options['optDisabled']) && is_array($options['optDisabled']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user