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:
Andrew Dolgov 2010-09-13 15:54:24 +04:00
parent d5ed5446d1
commit 63def06ca8
1 changed files with 1 additions and 1 deletions

View File

@ -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);