Patrick Cool 15 years ago
parent 327cd789c7
commit e95ce0f2f9
  1. 2
      main/newscorm/learnpath.class.php

@ -8437,7 +8437,7 @@ class learnpath {
$my_title = $xmldoc->createElement('title',htmlspecialchars($item->get_title(), ENT_QUOTES, $this->encoding));
$my_item->appendChild($my_title);
$my_max_score = $xmldoc->createElement('max_score',$item->get_max());
$my_item->appendChild($my_max_score);
//$my_item->appendChild($my_max_score);
//give a child element <adlcp:prerequisites> to the <item> element
$my_prereqs = $xmldoc->createElement('adlcp:prerequisites',$item->get_prereq_string());
$my_prereqs->setAttribute('type','aicc_script');

Loading…
Cancel
Save