소스 검색

Fix add missing variable

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');