1
0
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:
Cameron 2018-07-14 13:26:50 -07:00
parent ce765316dd
commit 7933ec651e

View File

@ -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']);
}