Custom field value is never an array, just a string

This commit is contained in:
Nathan Gray 2012-03-23 18:43:06 +00:00
parent 1dc6376ed4
commit 282888715b

View File

@ -234,7 +234,8 @@ class etemplate_widget_customfields extends etemplate_widget_transformer
self::set_validation_error($form_name,lang('Field must not be empty !!!'),'');
}
$valid =& self::get_array($validated, $this->id ? $form_name : $field, true);
$valid = $value;
$valid = implode(',',$value);
error_log(__METHOD__."() $form_name $field: ".array2string($value).' --> '.array2string($value));
}
}