diff --git a/trunk/includes/class/class.LSattr_html_select_object.php b/trunk/includes/class/class.LSattr_html_select_object.php index 3feff094..330bf58e 100644 --- a/trunk/includes/class/class.LSattr_html_select_object.php +++ b/trunk/includes/class/class.LSattr_html_select_object.php @@ -63,7 +63,7 @@ class LSattr_html_select_object extends LSattr_html{ * * @retval mixed La valeur formatée de l'attribut (array('DNs' => 'displayValue')) **/ - function refreshForm($data,$fromDNs=true) { + function refreshForm($data,$fromDNs=false) { return $this -> getFormValues($data,$fromDNs); } diff --git a/trunk/includes/class/class.LSformElement_select_object.php b/trunk/includes/class/class.LSformElement_select_object.php index bbc65fc1..cc0f725f 100644 --- a/trunk/includes/class/class.LSformElement_select_object.php +++ b/trunk/includes/class/class.LSformElement_select_object.php @@ -121,7 +121,7 @@ class LSformElement_select_object extends LSformElement { */ function setValueFromPostData($data) { LSformElement::setValueFromPostData($data); - $this -> values = $this -> attr_html -> refreshForm($this -> values,false); + $this -> values = $this -> attr_html -> refreshForm($this -> values,true); return true; }