]> git.mxchange.org Git - friendica-addons.git/blobdiff - showmore/showmore.php
Oooops, put back the warnings ignore for DomDocument
[friendica-addons.git] / showmore / showmore.php
index de8c2f0740eca7bb9c8af9daab40154289641551..1f40b027be3b7da947e3905e8a9a817ffd176c7a 100755 (executable)
@@ -77,7 +77,7 @@ function get_body_length($body) {
        // We need to get rid of hidden tags (display: none)
 
        // Get rid of the warning. It would be better to have some valid html as input
-       $dom = DomDocument::loadHTML($body);
+       $dom = @DomDocument::loadHTML($body);
        $xpath = new DOMXPath($dom);
 
        /*