Skip to content

Commit

Permalink
Fix Scorm import
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed May 17, 2021
1 parent 9d15710 commit 2d6ae83
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main/lp/scorm.class.php
Expand Up @@ -95,9 +95,7 @@ public function parse_manifest($file = '')
// UTF-8 is supported by DOMDocument class, this is for sure.
$xml = api_utf8_encode_xml($xml, $this->manifest_encoding);

/*$crawler = new Crawler();
$crawler->addXmlContent($xml);*/
$crawler = Import::xml($xml);
$crawler = Import::xmlFromString($xml);

$xmlErrors = libxml_get_errors();

Expand Down

0 comments on commit 2d6ae83

Please sign in to comment.