- LSattribute : Correction de la méthode getFormVal()

This commit is contained in:
Benjamin Renard 2008-10-15 09:59:52 +00:00
parent 9d96ba4749
commit 6fc4a82c77

View file

@ -338,6 +338,9 @@ class LSattribute {
*/ */
function getFormVal() { function getFormVal() {
$data=$this -> getDisplayValue(); $data=$this -> getDisplayValue();
if ($data==NULL) {
$data=array();
}
if(!is_array($data)) { if(!is_array($data)) {
$data=array($data); $data=array($data);
} }