diff --git a/public_html/includes/class/class.LSattr_html_select_object.php b/public_html/includes/class/class.LSattr_html_select_object.php index b0eeae63..dd8f5dac 100644 --- a/public_html/includes/class/class.LSattr_html_select_object.php +++ b/public_html/includes/class/class.LSattr_html_select_object.php @@ -44,6 +44,9 @@ class LSattr_html_select_object extends LSattr_html{ return; } if ($data) { + if (!is_array($data)) { + $data=array($data); + } $values=$this -> getFormValues($data); if ($values) { $element -> setValue($values);