mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
- LSattribute : Correction d'un bug dans la méthode resfreshForm()
This commit is contained in:
parent
860f62e09c
commit
44673c7dc1
1 changed files with 7 additions and 2 deletions
|
@ -323,9 +323,14 @@ class LSattribute {
|
|||
function refreshForm(&$form,$idForm) {
|
||||
if(isset($this -> config['form'][$idForm])) {
|
||||
$form_element = $form -> getElement($this -> name);
|
||||
if ($form_element) {
|
||||
$values = $this -> html -> refreshForm($this -> getFormVal());
|
||||
return $form_element -> setValue($values);
|
||||
}
|
||||
else {
|
||||
LSdebug('LSformElement "'.$this -> name.'" n\'existe pas');
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue