Don't implode arrays, just return

This commit is contained in:
Nathan Gray 2012-05-02 18:59:08 +00:00
parent 0527ec2a88
commit 6c72a6fe5f

View File

@ -98,7 +98,6 @@ class etemplate_widget_menupopup extends etemplate_widget
break;
}
}
if (is_array($value)) $value = implode(',',$value);
if ($ok && $value === '' && $this->attrs['needed'])
{
self::set_validation_error($form_name,lang('Field must not be empty !!!',$value),'');