Fix: Bad parameter

This commit is contained in:
Laurent Destailleur 2011-01-30 12:42:31 +00:00
parent 8baee6658f
commit 3ed533fc7e

View File

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