Browse Source

Silent loadHTML see BT#12139

jmontoyaa 8 years ago
parent
commit
32857cd790
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/gradebook/lib/GradebookUtils.php

+ 1 - 1
main/gradebook/lib/GradebookUtils.php

@@ -701,7 +701,7 @@ class GradebookUtils
         $new_content_html = str_replace(SYS_CODE_PATH . 'img/', api_get_path(WEB_IMG_PATH), $new_content_html);
 
         $dom = new DOMDocument();
-        $dom->loadHTML($new_content_html);
+        @$dom->loadHTML($new_content_html);
 
         //add print header
         if (!$hide_print_button) {