mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
- 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:
parent
8b4d76a4f8
commit
d5cb294d65
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ class LSattr_html_select_object extends LSattr_html{
|
||||||
*
|
*
|
||||||
* @retval mixed La valeur formatée de l'attribut (array('DNs' => 'displayValue'))
|
* @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);
|
return $this -> getFormValues($data,$fromDNs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -121,7 +121,7 @@ class LSformElement_select_object extends LSformElement {
|
||||||
*/
|
*/
|
||||||
function setValueFromPostData($data) {
|
function setValueFromPostData($data) {
|
||||||
LSformElement::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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue