mirror of
https://github.com/e107inc/e107.git
synced 2025-01-18 05:09:05 +01:00
PHP Warning removal
This commit is contained in:
parent
ce765316dd
commit
7933ec651e
@ -2981,7 +2981,7 @@ class e_form
|
||||
{
|
||||
$sel = is_array($selected) ? in_array($value, $selected) : ($value == $selected);
|
||||
|
||||
if(!empty($options['disabled']))
|
||||
if(!empty($options['disabled']) && is_array($options['disabled']))
|
||||
{
|
||||
$opts['disabled'] = in_array($value, $options['disabled']);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user