diff --git a/bl-kernel/helpers/dom.class.php b/bl-kernel/helpers/dom.class.php index 3917035a..6cbc9252 100644 --- a/bl-kernel/helpers/dom.class.php +++ b/bl-kernel/helpers/dom.class.php @@ -5,7 +5,7 @@ class DOM { public static function getFirstImage($content) { // Disable warning - libxml_use_internal_errors(); + libxml_use_internal_errors(true); $dom = new DOMDocument(); $dom->loadHTML(''.$content); $finder = new DomXPath($dom);