diff options
author | Andrew Dolgov <[email protected]> | 2010-11-08 13:58:50 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-08 13:58:50 +0300 |
commit | 019dd98d05160190d6dcf8c6031f881d280d7a92 (patch) | |
tree | c43ae852b1f09ca9c8ecd2d91dfb7d5ac0355201 | |
parent | 7d4dba8fc38af01a3e32e4a47532bd3fa4a16f4f (diff) |
send digest: mark digest sent attempt even if there were no headlines
-rw-r--r-- | functions.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/functions.php b/functions.php index a4eb1af04..72a060636 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"]); } } |