- LSattribute : Correction bug suit au commit précédent

This commit is contained in:
Benjamin Renard 2008-10-07 15:23:06 +00:00
parent fa30a8c7f0
commit c3a0b951f8

View file

@ -231,9 +231,9 @@ class LSattribute {
}
if(!isset($rule_infos['msg']))
$rule_infos['msg']=getFData(_('La valeur du champs %{label} est invalide.'),$this -> config['label']);
if(!isset($rule_infos['param']))
$rule_infos['param']=NULL;
$form -> addRule($this -> name,$rule,array('msg' => $rule_infos['msg'], 'param' => $rule_infos['param']));
if(!isset($rule_infos['params']))
$rule_infos['params']=NULL;
$form -> addRule($this -> name,$rule,array('msg' => $rule_infos['msg'], 'params' => $rule_infos['params']));
}
}
else {