disable error reporting on fetch_rss
This commit is contained in:
parent
c3b81db06c
commit
3ad5aa855c
|
@ -29,7 +29,9 @@
|
||||||
|
|
||||||
function update_rss_feed($link, $feed_url, $feed) {
|
function update_rss_feed($link, $feed_url, $feed) {
|
||||||
|
|
||||||
|
error_reporting(0);
|
||||||
$rss = fetch_rss($feed_url);
|
$rss = fetch_rss($feed_url);
|
||||||
|
error_reporting (E_ERROR | E_WARNING | E_PARSE);
|
||||||
|
|
||||||
$num_unread = 0;
|
$num_unread = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue