mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-23 02:19:07 +01:00
LSldapObject : Fixed translation of error message during validation.
This commit is contained in:
parent
d5baeb10e4
commit
4af5a767ed
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ class LSldapObject {
|
||||||
|
|
||||||
// Définition du message d'erreur
|
// Définition du message d'erreur
|
||||||
if (!empty($test['msg'])) {
|
if (!empty($test['msg'])) {
|
||||||
$msg_error=getFData($test['msg'],$this,'getValue');
|
$msg_error=getFData(__($test['msg']),$this,'getValue');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$msg_error=getFData(_("The attribute %{attr} is not valid."),$attr -> getLabel());
|
$msg_error=getFData(_("The attribute %{attr} is not valid."),$attr -> getLabel());
|
||||||
|
|
Loading…
Reference in a new issue