From: Andrew Dolgov Date: Mon, 21 May 2007 05:59:47 +0000 (+0100) Subject: daemon extended debug: report when entry iterator is invalid X-Git-Tag: 1.2.11.1~4 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=844012bc8fd9e07175458873a76944597357701e;p=tt-rss.git daemon extended debug: report when entry iterator is invalid --- diff --git a/functions.php b/functions.php index 6df61bd4..011dd5eb 100644 --- a/functions.php +++ b/functions.php @@ -517,6 +517,10 @@ // clear any errors and mark feed as updated if fetched okay // even if it's blank + if (defined('DAEMON_EXTENDED_DEBUG')) { + _debug("update_rss_feed: entry iterator is not an array, no articles?"); + } + db_query($link, "UPDATE ttrss_feeds SET last_updated = NOW(), last_error = '' WHERE id = '$feed'");