]> git.mxchange.org Git - friendica-addons.git/commitdiff
Oooops, put back the warnings ignore for DomDocument
authorDomovoy <domovoy@errlock.org>
Fri, 27 Jul 2012 08:12:12 +0000 (10:12 +0200)
committerDomovoy <domovoy@errlock.org>
Fri, 27 Jul 2012 08:12:12 +0000 (10:12 +0200)
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);
 
        /*