From: Andrew Dolgov Date: Mon, 8 Nov 2010 10:58:50 +0000 (+0300) Subject: send digest: mark digest sent attempt even if there were no headlines X-Git-Tag: 1.5.0~360 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=019dd98d05160190d6dcf8c6031f881d280d7a92;p=tt-rss.git send digest: mark digest sent attempt even if there were no headlines --- diff --git a/functions.php b/functions.php index a4eb1af0..72a06063 100644 --- a/functions.php +++ b/functions.php @@ -3843,12 +3843,12 @@ print "Marking affected articles as read...\n"; catchupArticlesById($link, $affected_ids, 0, $line["id"]); } - - db_query($link, "UPDATE ttrss_users SET last_digest_sent = NOW() - WHERE id = " . $line["id"]); } else { print "No headlines\n"; } + + db_query($link, "UPDATE ttrss_users SET last_digest_sent = NOW() + WHERE id = " . $line["id"]); } }