[-] BO : fix #PSCFV-3893
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