[-] BO : fix #PSCFV-3893

This commit is contained in:
lLefevre
2012-09-04 07:57:59 +00:00
parent 3bace1b223
commit 2de487e5cd
16 changed files with 47 additions and 47 deletions
+1 -1
View File
@@ -218,7 +218,7 @@ class AdminLoginControllerCore extends AdminController
'{passwd}' => $pwd
);
if (Mail::Send((int)Configuration::get('PS_LANG_DEFAULT'), 'password', Mail::l('Your new admin password', (int)Configuration::get('PS_LANG_DEFAULT')), $params, $employee->email, $employee->firstname.' '.$employee->lastname))
if (Mail::Send((int)Configuration::get('PS_LANG_DEFAULT'), 'password', Mail::l('Your new password', (int)Configuration::get('PS_LANG_DEFAULT')), $params, $employee->email, $employee->firstname.' '.$employee->lastname))
{
// Update employee only if the mail can be sent
$result = $employee->update();