From 7639f9117936fda9fb886c4e6934be315a30b72e Mon Sep 17 00:00:00 2001 From: Domovoy Date: Fri, 27 Jul 2012 10:12:12 +0200 Subject: [PATCH] Oooops, put back the warnings ignore for DomDocument --- showmore/showmore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/showmore/showmore.php b/showmore/showmore.php index de8c2f07..1f40b027 100755 --- a/showmore/showmore.php +++ b/showmore/showmore.php @@ -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); /* -- 2.39.5