- LSformElement_select_object && LSattr_html_select_object

-> Correction d'un bug : inversion du cas par défaut de la méthode 
		 LSattr_html_select_object::refreshForm() (!$fromDNs)
This commit is contained in:
Benjamin Renard 2008-10-07 12:53:43 +00:00
parent 8b4d76a4f8
commit d5cb294d65
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}

View file

@ -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;
}