[svn r20859] FS#4226 - SCORM export: Repeating the correction as it was in SVN#20844.

skala
Ivan Tcholakov 17 years ago
parent 75b1ca3470
commit 8726cabb5a
  1. 4
      main/newscorm/learnpath.class.php

@ -8357,7 +8357,7 @@ class learnpath {
//give a child element <adlcp:datafromlms> to the <item> element - not yet supported //give a child element <adlcp:datafromlms> to the <item> element - not yet supported
//$xmldoc->createElement('adlcp:datafromlms',''); //$xmldoc->createElement('adlcp:datafromlms','');
//give a child element <adlcp:masteryscore> to the <item> element //give a child element <adlcp:masteryscore> to the <item> element
$my_masteryscore = $xmldoc->createElement('adlcp:masteryscore',$item->get_masteryscore()); $my_masteryscore = $xmldoc->createElement('adlcp:masteryscore',$item->get_mastery_score());
$my_item->appendChild($my_masteryscore); $my_item->appendChild($my_masteryscore);
@ -8932,4 +8932,4 @@ if (!function_exists('trim_value')) {
function trim_value(& $value) { function trim_value(& $value) {
$value = trim($value); $value = trim($value);
} }
} }

Loading…
Cancel
Save