summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-08-23 07:46:25 +0100
committerAndrew Dolgov <[email protected]>2005-08-23 07:46:25 +0100
commit3ad5aa855ca40e89941cd00090f6005ddbf6f96e (patch)
tree0d102220128b2e528c740b078607e73f2a22f8f9 /functions.php
parentc3b81db06c48435ce17528ce0eb9b6bb4c65c513 (diff)
disable error reporting on fetch_rss
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 36f191e83..d2cb65d2c 100644
--- a/functions.php
+++ b/functions.php
@@ -29,7 +29,9 @@
function update_rss_feed($link, $feed_url, $feed) {
+ error_reporting(0);
$rss = fetch_rss($feed_url);
+ error_reporting (E_ERROR | E_WARNING | E_PARSE);
$num_unread = 0;