Fix: Bad link in password sent

This commit is contained in:
Laurent Destailleur
2008-08-28 18:02:57 +00:00
parent 31dcc93ae8
commit 80a3de1a56
2 changed files with 52 additions and 12 deletions

View File

@@ -1274,7 +1274,7 @@ class User extends CommonObject
$mesg.= $langs->trans("Password")." : $password\n\n";
$mesg.= "\n";
$url = "http://".$_SERVER["HTTP_HOST"].DOL_URL_ROOT;
$mesg.= '<a href="'.$url.'">Go to Dolibarr</a>'."\n\n";
$mesg.= 'Click here to go to Dolibarr: '.$url."\n\n";
$mesg.= "--\n";
$mesg.= $user->fullname; // Username that make then sending
}