From fe02d03824d83d161c030cdd821fb43f10325883 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 18 Apr 2013 13:12:15 +0000 Subject: [PATCH] issue #0001605 : Add lang key from the database --- library/WsScore/WsScore.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/WsScore/WsScore.php b/library/WsScore/WsScore.php index 83fab996..61b252d6 100644 --- a/library/WsScore/WsScore.php +++ b/library/WsScore/WsScore.php @@ -555,7 +555,7 @@ class WsScore 'u.login', 'u.id', 'u.email', 'u.password', 'u.idClient', 'u.typeCompte', 'u.actif', 'u.filtre_ip', 'u.profil', 'u.civilite', 'u.nom', 'u.prenom', 'u.tel', 'u.fax', 'u.mobile', 'u.pref', 'u.rechRefType', 'u.profil', 'u.nombreConnexions', - 'u.dateDerniereConnexion', 'u.droits', 'u.referenceParDefaut', 'u.nbReponses', + 'u.dateDerniereConnexion', 'u.droits', 'u.referenceParDefaut', 'u.nbReponses', 'u.lang', 'u.formatMail', 'u.dateDebutCompte', 'u.dateFinCompte', 'u.accesWS', 'u.acceptationCGU')) ->join(array('c'=>'clients'), 'u.idClient = c.id', array( 'c.droits AS droitsClients', 'c.test AS clientTest', 'c.typeScore', 'c.timeout', @@ -612,6 +612,7 @@ class WsScore 'clientTest' => $result->clientTest, 'typeScore' => $result->typeScore, 'nbReponses' => $result->nbReponses, + 'lang' => $result->lang, 'formatMail' => $result->formatMail, 'referenceParDefaut' => $result->referenceParDefaut, 'dateDebutCompte' => $result->dateDebutCompte,