mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-01 00:03:18 +01:00
- LSldapObject : Correction de la méthode getForm() dans le cas d'un chargement
des données d'un autre objet (copie). Utilisation de la méthode getFormVal(). Ceci corrige le bug #1732.
This commit is contained in:
parent
102cf0ea31
commit
6448f263be
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ class LSldapObject {
|
|||
|
||||
if ($load) {
|
||||
foreach($this -> attrs as $attr_name => $attr) {
|
||||
if(!$this -> attrs[$attr_name] -> addToForm($LSform,$idForm,$this,$loadObject -> getValue($attr_name))) {
|
||||
if(!$this -> attrs[$attr_name] -> addToForm($LSform,$idForm,$this,$loadObject -> attrs[$attr_name] -> getFormVal())) {
|
||||
$LSform -> can_validate = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue