mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-12 16:58:37 +00:00
Merge pull request #974 from jbfavre/fix_ftrss_call_can_break_import
Make call to FTRSS silent to avoid warnings which can break import
This commit is contained in:
commit
1aa1461a2e
1 changed files with 4 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue