mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-19 09:31:29 +00:00
mark feed as updated even if blank
This commit is contained in:
@@ -498,7 +498,14 @@
|
||||
/* db_query($link, "UPDATE ttrss_feeds
|
||||
SET last_error = 'Parse error: can\'t find any articles.'
|
||||
WHERE id = '$feed'"); */
|
||||
return; // WTF?
|
||||
|
||||
// clear any errors and mark feed as updated if fetched okay
|
||||
// even if it's blank
|
||||
|
||||
db_query($link, "UPDATE ttrss_feeds
|
||||
SET last_updated = NOW(), last_error = '' WHERE id = '$feed'");
|
||||
|
||||
return; // no articles
|
||||
}
|
||||
|
||||
if (defined('DAEMON_EXTENDED_DEBUG')) {
|
||||
|
||||
Reference in New Issue
Block a user