]> git.wh0rd.org Git - tt-rss.git/commitdiff
daemon extended debug: report when entry iterator is invalid
authorAndrew Dolgov <fox@madoka.spb.ru>
Mon, 21 May 2007 05:59:47 +0000 (06:59 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Mon, 21 May 2007 05:59:47 +0000 (06:59 +0100)
functions.php

index 6df61bd42e6d165ed45d8587d5caffec9c0c3d67..011dd5eb95f54f09113a4fcecafc0fc96bee6d59 100644 (file)
                                // 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'");