From ebe076a2b9a110f27899e7080a0b46a52e5fdcbe Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 30 Jan 2011 12:40:45 +0000 Subject: [PATCH] Fix: Bad parameter --- htdocs/user/class/user.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php index f143531bac8..985b6b0e740 100644 --- a/htdocs/user/class/user.class.php +++ b/htdocs/user/class/user.class.php @@ -1325,7 +1325,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)