From: Andrew Dolgov Date: Sat, 18 Mar 2006 16:16:50 +0000 (+0100) Subject: set last_error on is_array() iterator check failure X-Git-Tag: 1.1.4~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9a7a7b41336548309bb015ba8e6ef5ab9ffae595;p=tt-rss.git set last_error on is_array() iterator check failure --- diff --git a/functions.php b/functions.php index f9f024cb..a7e89fc1 100644 --- a/functions.php +++ b/functions.php @@ -305,6 +305,9 @@ if (!$iterator || !is_array($iterator)) $iterator = $rss; if (!is_array($iterator)) { + db_query($link, "UPDATE ttrss_feeds + SET last_error = 'CrazyBug 001: Can't find iterator :(' + WHERE id = '$feed'"); return; // WTF? }