mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 06:45:54 +00:00
hide uninteresting errors in several DOMDocument->loadHTML() invocations
This commit is contained in:
@@ -286,7 +286,7 @@ class DiskCache {
|
||||
if (!$res) return '';
|
||||
|
||||
$doc = new DOMDocument();
|
||||
if ($doc->loadHTML('<?xml encoding="UTF-8">' . $res)) {
|
||||
if (@$doc->loadHTML('<?xml encoding="UTF-8">' . $res)) {
|
||||
$xpath = new DOMXPath($doc);
|
||||
$cache = new DiskCache("images");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user