mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 04:40:44 +02:00
Fixed type check in e_form::option_multi()
This commit is contained in:
@@ -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];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user