mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
- LSattribute : Correction bug suit au commit précédent
This commit is contained in:
parent
fa30a8c7f0
commit
c3a0b951f8
1 changed files with 3 additions and 3 deletions
|
@ -231,9 +231,9 @@ class LSattribute {
|
||||||
}
|
}
|
||||||
if(!isset($rule_infos['msg']))
|
if(!isset($rule_infos['msg']))
|
||||||
$rule_infos['msg']=getFData(_('La valeur du champs %{label} est invalide.'),$this -> config['label']);
|
$rule_infos['msg']=getFData(_('La valeur du champs %{label} est invalide.'),$this -> config['label']);
|
||||||
if(!isset($rule_infos['param']))
|
if(!isset($rule_infos['params']))
|
||||||
$rule_infos['param']=NULL;
|
$rule_infos['params']=NULL;
|
||||||
$form -> addRule($this -> name,$rule,array('msg' => $rule_infos['msg'], 'param' => $rule_infos['param']));
|
$form -> addRule($this -> name,$rule,array('msg' => $rule_infos['msg'], 'params' => $rule_infos['params']));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue