Browse files

Merge branch 'MDL-39363-master' of git://github.com/ankitagarwal/mood…

…le into MOODLE_25_STABLE
  • Loading branch information...
2 parents c450021 + d8d0b8b commit 76f881c83a8c03c9fc524f8413e68e0e94f0b255 @damyon damyon committed May 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/datamodels/scorm_12.js.php
View
2 mod/scorm/datamodels/scorm_12.js.php
@@ -650,7 +650,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 76f881c

Please sign in to comment.