From 844012bc8fd9e07175458873a76944597357701e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 21 May 2007 06:59:47 +0100 Subject: [PATCH] daemon extended debug: report when entry iterator is invalid --- functions.php | 4 ++++ 1 file changed, 4 insertions(+) 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'"); -- 2.39.5