[-] BO : fix #PSCFV-3893
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17157 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user