issue #0001605 : Add lang key from the database

This commit is contained in:
Michael RICOIS 2013-04-18 13:12:15 +00:00
parent 0fd1b417cf
commit fe02d03824

View File

@ -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,