Compare commits

...

5 Commits

Author SHA1 Message Date
Sven Slootweg bf6f798df7 Fixes bug where reminder e-mails were sent to users that had deactivated their subscription. 10 years ago
Sven Slootweg f5b86d9005 Merge branch 'develop' 11 years ago
Sven Slootweg c1285c9963 Merge branch 'develop' 11 years ago
Sven Slootweg cb570eba38 Merge branch 'develop' 11 years ago
Sven Slootweg 1d6e7fe8d3 Merge branch 'develop' 11 years ago

@ -34,7 +34,7 @@ Currency::UpdateRates();
try
{
$sSubscriptions = Subscription::CreateFromQuery("SELECT * FROM subscriptions WHERE `Confirmed` = 1 AND `Active` = 1 AND `LastEmail` IS NULL OR `LastEmail` < DATE_SUB(NOW(), INTERVAL 1 MONTH)");
$sSubscriptions = Subscription::CreateFromQuery("SELECT * FROM subscriptions WHERE `Confirmed` = 1 AND `Active` = 1 AND (`LastEmail` IS NULL OR `LastEmail` < DATE_SUB(NOW(), INTERVAL 1 MONTH))");
}
catch (NotFoundException $e)
{

Loading…
Cancel
Save