From d653cd0058e93102e17c539dabd4ab50b1244270 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Thu, 28 Feb 2013 09:15:36 +0100 Subject: [PATCH] Fix bug in setting the last e-mail date in the daily cronjob --- public_html/cron.daily.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/cron.daily.php b/public_html/cron.daily.php index be51505..6aacd23 100644 --- a/public_html/cron.daily.php +++ b/public_html/cron.daily.php @@ -65,6 +65,6 @@ foreach($sSubscriptions as $sSubscription) send_mail($sSubscription->sEmailAddress, "Your monthly donation to {$sSubscription->sCampaign->sName}", $sEmail['text'], $sEmail['html']); /* Update the subscription to reflect the last sent e-mail */ - $sSubscription->uLastEmail = time(); + $sSubscription->uLastEmailDate = time(); $sSubscription->InsertIntoDatabase(); }