aboutsummaryrefslogtreecommitdiffstats
path: root/include/oembed.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-02-16 12:56:34 +0000
committerMario <mario@mariovavti.com>2021-02-16 12:56:34 +0000
commit3eaf0b7f23aded75894848664420658e429dce5a (patch)
tree244145835f6ed381341c2dee21607422ae36967c /include/oembed.php
parent76ad2c0fa49e039fb145a89d1e7024ac45702d3b (diff)
downloadvolse-hubzilla-3eaf0b7f23aded75894848664420658e429dce5a.tar.gz
volse-hubzilla-3eaf0b7f23aded75894848664420658e429dce5a.tar.bz2
volse-hubzilla-3eaf0b7f23aded75894848664420658e429dce5a.zip
php8 another fix
Diffstat (limited to 'include/oembed.php')
-rw-r--r--include/oembed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oembed.php b/include/oembed.php
index 235069c1b..b6060c878 100644
--- a/include/oembed.php
+++ b/include/oembed.php
@@ -181,7 +181,7 @@ function oembed_fetch_url($embedurl){
if($html_text) {
$dom = new DOMDocument;
- $dom->loadHTML($html_text);
+ @$dom->loadHTML($html_text);
if ($dom){
$xpath = new DOMXPath($dom);
$attr = "oembed";