Fix sending first notification newsletter with ALC posts

This commit is contained in:
Tautvidas Sipavičius
2016-08-05 13:40:54 +03:00
parent cfde82ff5f
commit 5e36eb818b

View File

@@ -20,7 +20,7 @@ class Renderer {
if($last_post) {
$newer_than_timestamp = $last_post->created_at;
} else {
$newer_than_timestamp = $newsletter['created_at'];
$newer_than_timestamp = false;
}
} else if($preview) {
$newsletter_id = false;