Browse Source

Make call to FTRSS silent to avoid warnings which can break import

master
Jean Baptiste Favre 8 years ago
parent
commit
81315897f0
  1. 5
      inc/poche/Tools.class.php

5
inc/poche/Tools.class.php

@ -342,7 +342,10 @@ final class Tools @@ -342,7 +342,10 @@ final class Tools
return $json;
};
$json = $scope("inc/3rdparty/makefulltextfeed.php", array("url" => $url));
// Silence $scope function to avoid
// issues with FTRSS when error_reporting is to high
// FTRSS generates PHP warnings which break output
$json = @$scope("inc/3rdparty/makefulltextfeed.php", array("url" => $url));
// Clearing and restoring context
foreach ($GLOBALS as $key => $value) {

Loading…
Cancel
Save