diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php index 5080a31a546..9911a182a3d 100644 --- a/htdocs/user/class/user.class.php +++ b/htdocs/user/class/user.class.php @@ -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)