Fix: Bad parameter
This commit is contained in:
parent
8baee6658f
commit
3ed533fc7e
@ -1324,7 +1324,7 @@ class User extends CommonObject
|
||||
// Define $msg
|
||||
$mesg = '';
|
||||
|
||||
$outputlangs=new Translate($db,$conf);
|
||||
$outputlangs=new Translate("",$conf);
|
||||
if (isset($this->conf->MAIN_LANG_DEFAULT)
|
||||
&& $this->conf->MAIN_LANG_DEFAULT != 'auto')
|
||||
{ // If user has defined its own language (rare because in most cases, auto is used)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user