diff options
author | Jean Baptiste Favre <github@jbfavre.org> | 2014-12-21 22:41:04 +0100 |
---|---|---|
committer | Jean Baptiste Favre <github@jbfavre.org> | 2014-12-21 22:41:04 +0100 |
commit | 81315897f088105b445c194e7a984662bb208854 (patch) | |
tree | 85b2e98b8d380a7afc0764ffabc55cf075130e4a /inc/poche/Tools.class.php | |
parent | a460404252590d2c31d93c41b5031bb6c5add98f (diff) | |
download | wallabag-81315897f088105b445c194e7a984662bb208854.tar.gz wallabag-81315897f088105b445c194e7a984662bb208854.tar.zst wallabag-81315897f088105b445c194e7a984662bb208854.zip |
Make call to FTRSS silent to avoid warnings which can break import
Diffstat (limited to 'inc/poche/Tools.class.php')
-rwxr-xr-x | inc/poche/Tools.class.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/inc/poche/Tools.class.php b/inc/poche/Tools.class.php index f803e3b5..7ccfc069 100755 --- a/inc/poche/Tools.class.php +++ b/inc/poche/Tools.class.php | |||
@@ -342,7 +342,10 @@ final class Tools | |||
342 | return $json; | 342 | return $json; |
343 | }; | 343 | }; |
344 | 344 | ||
345 | $json = $scope("inc/3rdparty/makefulltextfeed.php", array("url" => $url)); | 345 | // Silence $scope function to avoid |
346 | // issues with FTRSS when error_reporting is to high | ||
347 | // FTRSS generates PHP warnings which break output | ||
348 | $json = @$scope("inc/3rdparty/makefulltextfeed.php", array("url" => $url)); | ||
346 | 349 | ||
347 | // Clearing and restoring context | 350 | // Clearing and restoring context |
348 | foreach ($GLOBALS as $key => $value) { | 351 | foreach ($GLOBALS as $key => $value) { |