Merge branch 'ticket-13814-mailAlertUpdate' into develop

This commit is contained in:
Marion Muszynski 2017-08-22 12:26:00 +02:00
commit c0c99bd7e9

View File

@ -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();
}
}