mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-17 15:59:06 +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,8 +323,13 @@ class LSattribute {
|
|||
function refreshForm(&$form,$idForm) {
|
||||
if(isset($this -> config['form'][$idForm])) {
|
||||
$form_element = $form -> getElement($this -> name);
|
||||
$values = $this -> html -> refreshForm($this -> getFormVal());
|
||||
return $form_element -> setValue($values);
|
||||
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