]> git.wh0rd.org Git - tt-rss.git/commitdiff
check_for_update: fix typo which caused incorrect output of print_runtime_error(...
authorAndrew Dolgov <fox@bah.org.ru>
Mon, 13 Sep 2010 11:54:24 +0000 (15:54 +0400)
committerAndrew Dolgov <fox@bah.org.ru>
Mon, 13 Sep 2010 11:54:24 +0000 (15:54 +0400)
functions.php

index 2f895cd3019082099fb764b81a053b8b3330ef80..e7d95c15231c3893c913d41d3d056327d51c9176 100644 (file)
                }
 
                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);