mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-06 14:49:15 +00:00
rewrite_urls: try to workaround against some weird php-version related bug
This commit is contained in:
@@ -4963,7 +4963,11 @@
|
||||
|
||||
$node = $doc->getElementsByTagName('body')->item(0);
|
||||
|
||||
return $doc->saveXML($node);
|
||||
// http://tt-rss.org/forum/viewtopic.php?f=1&t=970
|
||||
if ($node)
|
||||
return $doc->saveXML($node);
|
||||
else
|
||||
return $html;
|
||||
}
|
||||
|
||||
function filter_to_sql($filter) {
|
||||
|
||||
Reference in New Issue
Block a user