Skip to content

Commit

Permalink
Fix add missing variable
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFQC committed Jan 23, 2019
1 parent fcdd6fe commit 61f08ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main/lp/scorm.class.php
Expand Up @@ -100,6 +100,8 @@ public function parse_manifest($file = '')
$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');
Expand Down

0 comments on commit 61f08ac

Please sign in to comment.