1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +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']); $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]; $opts['data-title'] = $options['title'][$value];
} }