1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Fixed type check in e_form::option_multi()

This commit is contained in:
Nick Liu
2020-01-17 19:23:29 +01:00
parent 8e0b047a73
commit c604b3019c

View File

@@ -3318,7 +3318,7 @@ var_dump($select_options);*/
$opts['disabled'] = in_array($value, $options['optDisabled']);
}
if(is_array($options['title']) && !empty($options['title'][$value]))
if(!empty($options['title'][$value]))
{
$opts['data-title'] = $options['title'][$value];
}