Skip to content

Commit

Permalink
Fixed type check in e_form::option_multi()
Browse files Browse the repository at this point in the history
  • Loading branch information
Deltik committed Jan 18, 2020
1 parent 8e0b047 commit c604b30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e107_handlers/form_handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -3318,7 +3318,7 @@ function option_multi($option_array, $selected = false, $options = array())
$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];
}
Expand Down

0 comments on commit c604b30

Please sign in to comment.