forked from extern/egroupware
Fix multiple attribute not set in template was handled as false on server
This commit is contained in:
parent
a449b5e93b
commit
d87e280bf9
@ -132,7 +132,7 @@ class etemplate_widget_taglist extends etemplate_widget
|
|||||||
{
|
{
|
||||||
self::set_validation_error($form_name,lang('Field must not be empty !!!',$value),'');
|
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);
|
$value = array_shift($value);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user