FIX Error message

This commit is contained in:
Laurent Destailleur 2016-05-13 19:55:49 +02:00
parent 2308d28c19
commit 8aebc37a5f

View File

@ -917,7 +917,7 @@ class User extends CommonObject
if (empty($this->login)) if (empty($this->login))
{ {
$langs->load("errors"); $langs->load("errors");
$this->error = $langs->trans("ErrorFieldRequired",$this->login); $this->error = $langs->trans("ErrorFieldRequired",$langs->transnoentitiesnoconv("Login"));
return -1; return -1;
} }