diff options
-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"]); } } |