From 019dd98d05160190d6dcf8c6031f881d280d7a92 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 8 Nov 2010 13:58:50 +0300 Subject: [PATCH] send digest: mark digest sent attempt even if there were no headlines --- functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"]); } } -- 2.39.5