mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
PHP Warning removal
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user