From 4fd8ccf3530a8ab310534c4007a6df6a221fe200 Mon Sep 17 00:00:00 2001 From: Ivan Tcholakov Date: Tue, 19 May 2009 19:19:27 +0200 Subject: [PATCH] [svn r20844] FS#4226 - Replacing a call to a deprecated method. Te actual method is get_mastery_score(), class learnpathItem. --- main/newscorm/learnpath.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index d7fdfcd4f3..b5b5586ce1 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -8236,7 +8236,7 @@ class learnpath { //give a child element to the element - not yet supported //$xmldoc->createElement('adlcp:datafromlms',''); //give a child element to the 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);