Skip to content

Commit

Permalink
Fix: Bad parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jan 30, 2011
1 parent 8baee66 commit 3ed533f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/user/class/user.class.php
Expand Up @@ -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)
Expand Down

0 comments on commit 3ed533f

Please sign in to comment.