Merge branch 'ticket-13814-mailAlertUpdate' into develop
This commit is contained in:
commit
c0c99bd7e9
@ -118,7 +118,7 @@ class Ant_Alert extends Module
|
||||
);
|
||||
foreach ($to as $email) {
|
||||
if(Mail::Send(2, 'ant_alert', 'Alert error', $data, $to)) {
|
||||
$alert->last_date_sent = date('Y-m-d H:i:s');
|
||||
$alert->date_last_sent = date('Y-m-d H:i:s');
|
||||
$alert->save();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user