mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-22 07:21:28 +00:00
check_for_update: fix typo which caused incorrect output of print_runtime_error() which caused RPC errors when DEFAULT_UPDATE_METHOD was set to SimplePie
This commit is contained in:
@@ -3966,7 +3966,7 @@
|
||||
}
|
||||
|
||||
error_reporting(0);
|
||||
if (DEFAULT_UPDATE_INTERVAL == "1") {
|
||||
if (DEFAULT_UPDATE_METHOD == "1") {
|
||||
$rss = new SimplePie();
|
||||
$rss->set_useragent(SIMPLEPIE_USERAGENT . MAGPIE_USER_AGENT_EXT);
|
||||
// $rss->set_timeout(MAGPIE_FETCH_TIME_OUT);
|
||||
|
||||
Reference in New Issue
Block a user