send digest: mark digest sent attempt even if there were no headlines
This commit is contained in:
parent
7d4dba8fc3
commit
019dd98d05
1 changed files with 3 additions and 3 deletions
|
@ -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"]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue