mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-26 00:01:33 +00:00
set last_error on is_array() iterator check failure
This commit is contained in:
@@ -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?
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user