From 3ed533fc7e1b580efceba25533dc2f3d1fcd8cf3 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 30 Jan 2011 12:42:31 +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 5080a31a546b3..9911a182a3d84 100644 --- a/htdocs/user/class/user.class.php +++ b/htdocs/user/class/user.class.php @@ -1324,7 +1324,7 @@ function send_password($user, $password='', $changelater=0) // 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)