diff options
author | Andrew Dolgov <[email protected]> | 2010-09-13 15:54:24 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-09-13 15:54:24 +0400 |
commit | 63def06ca88cacdfc0688d450a22ff17f499ef88 (patch) | |
tree | 1319f8e5893dec147b42915418e40a696de8680f /functions.php | |
parent | d5ed5446d13807ff4a737a059a695d0ef0f97217 (diff) |
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
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 2f895cd30..e7d95c152 100644 --- a/functions.php +++ b/functions.php @@ -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); |