diff options
author | Andrew Dolgov <[email protected]> | 2006-03-18 17:16:50 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-03-18 17:16:50 +0100 |
commit | 9a7a7b41336548309bb015ba8e6ef5ab9ffae595 (patch) | |
tree | 7d5bdb7ba9edacfe50b50a0ea5a5ddf05ffd2162 | |
parent | c22789da91173a0d176469097a1189ff8e62bb21 (diff) |
set last_error on is_array() iterator check failure
-rw-r--r-- | functions.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/functions.php b/functions.php index f9f024cbc..a7e89fc1d 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? } |