aboutsummaryrefslogtreecommitdiffstats
path: root/include/oembed.php
diff options
context:
space:
mode:
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";