Permalink
Browse files

Merge branch 'MDL-39363-m23' of git://github.com/ankitagarwal/moodle …

…into MOODLE_23_STABLE
  • Loading branch information...
damyon committed May 20, 2013
2 parents edcb7a0 + 56e69c6 commit 166e25fec732388d862d71386a6ce74618b027fa
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/datamodels/scorm_12.js.php
@@ -646,7 +646,7 @@ function StoreData(data,storetotaltime) {
}
if (cmi.core.lesson_mode == 'normal') {
if (cmi.core.credit == 'credit') {
- if (cmi.student_data.mastery_score != '' && cmi.core.score.raw != '') {
+ if (cmi.student_data.mastery_score !== '' && cmi.core.score.raw !== '') {
if (parseFloat(cmi.core.score.raw) >= parseFloat(cmi.student_data.mastery_score)) {
cmi.core.lesson_status = 'passed';
} else {

0 comments on commit 166e25f

Please sign in to comment.