1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-08-13 16:54:00 -04:00

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

This commit is contained in:
Jean Baptiste Favre 2014-12-21 22:41:04 +01:00
parent a460404252
commit 81315897f0

View File

@ -342,7 +342,10 @@ final class Tools
return $json; 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 // Clearing and restoring context
foreach ($GLOBALS as $key => $value) { foreach ($GLOBALS as $key => $value) {