Angel Fernando Quiroz Campos 6 роки тому
батько
коміт
61f08ace85
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      main/lp/scorm.class.php

+ 2 - 0
main/lp/scorm.class.php

@@ -100,6 +100,8 @@ class scorm extends learnpath
             $crawler = new Crawler();
             $crawler->addXmlContent($xml);
 
+            $xmlErrors = libxml_get_errors();
+
             if (!empty($xmlErrors)) {
                 if ($this->debug > 0) {
                     error_log('New LP - In scorm::parse_manifest() - Exception thrown when loading '.$file.' in DOMDocument');