From 6fc4a82c77509d22c8d690dff8fe1062923002ab Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 15 Oct 2008 09:59:52 +0000 Subject: [PATCH] =?UTF-8?q?-=20LSattribute=20:=20Correction=20de=20la=20m?= =?UTF-8?q?=C3=A9thode=20getFormVal()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trunk/includes/class/class.LSattribute.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/trunk/includes/class/class.LSattribute.php b/trunk/includes/class/class.LSattribute.php index 6e1bd5fe..6254ba98 100644 --- a/trunk/includes/class/class.LSattribute.php +++ b/trunk/includes/class/class.LSattribute.php @@ -338,6 +338,9 @@ class LSattribute { */ function getFormVal() { $data=$this -> getDisplayValue(); + if ($data==NULL) { + $data=array(); + } if(!is_array($data)) { $data=array($data); }