send digest: mark digest sent attempt even if there were no headlines

This commit is contained in:
Andrew Dolgov 2010-11-08 13:58:50 +03:00
parent 7d4dba8fc3
commit 019dd98d05
1 changed files with 3 additions and 3 deletions

View File

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