Merge branch 'develop' of gitlab.antadis.net:dev-antadis/bebeboutik into develop

This commit is contained in:
Christophe Latour 2017-08-22 12:26:13 +02:00
commit 584756c0db

View File

@ -118,7 +118,7 @@ class Ant_Alert extends Module
); );
foreach ($to as $email) { foreach ($to as $email) {
if(Mail::Send(2, 'ant_alert', 'Alert error', $data, $to)) { 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(); $alert->save();
} }
} }