diff --git a/etemplate/inc/class.etemplate_widget_taglist.inc.php b/etemplate/inc/class.etemplate_widget_taglist.inc.php index c5623c5153..8167738ac7 100644 --- a/etemplate/inc/class.etemplate_widget_taglist.inc.php +++ b/etemplate/inc/class.etemplate_widget_taglist.inc.php @@ -132,7 +132,7 @@ class etemplate_widget_taglist extends etemplate_widget { self::set_validation_error($form_name,lang('Field must not be empty !!!',$value),''); } - if($this->attrs['multiple'] == false) + if(array_key_exists('multiple', $this->attrs) && $this->attrs['multiple'] == false) { $value = array_shift($value); }