diff --git a/plugins/af_redditimgur/init.php b/plugins/af_redditimgur/init.php index e43846abf..7ab07b900 100755 --- a/plugins/af_redditimgur/init.php +++ b/plugins/af_redditimgur/init.php @@ -106,7 +106,7 @@ class Af_RedditImgur extends Plugin { if ($oembed_result && isset($oembed_result["html"])) { $tmp = new DOMDocument(); - if ($tmp->loadHTML($oembed_result["html"])) { + if ($tmp->loadHTML('' . $oembed_result["html"])) { $p = $doc->createElement("p"); $p->appendChild($doc->importNode(