From 4af5a767ed1e190445dcaac16784806fef9c0b3d Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 3 Aug 2010 19:23:20 +0200 Subject: [PATCH] LSldapObject : Fixed translation of error message during validation. --- public_html/includes/class/class.LSldapObject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/includes/class/class.LSldapObject.php b/public_html/includes/class/class.LSldapObject.php index abba36fe..b74342f2 100644 --- a/public_html/includes/class/class.LSldapObject.php +++ b/public_html/includes/class/class.LSldapObject.php @@ -437,7 +437,7 @@ class LSldapObject { // Définition du message d'erreur if (!empty($test['msg'])) { - $msg_error=getFData($test['msg'],$this,'getValue'); + $msg_error=getFData(__($test['msg']),$this,'getValue'); } else { $msg_error=getFData(_("The attribute %{attr} is not valid."),$attr -> getLabel());