Skip to content

Commit

Permalink
[Scorm] fixes scorm results process
Browse files Browse the repository at this point in the history
  • Loading branch information
Elorfin committed Jan 15, 2021
1 parent 908b4b0 commit e46eba1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,9 @@ function APIClass(sco, scormData, tracking, dispatch, currentUser) {
}

case 'result':
upperCaseResult = argValue.toUpperCase()
if (typeof argValue === 'string') {
upperCaseResult = argValue.toUpperCase()
}

if ('CORRECT' === upperCaseResult ||
'INCORRECT' === upperCaseResult ||
Expand Down

0 comments on commit e46eba1

Please # to comment.