Fixing an empty string check

This commit is contained in:
Jonathan Putney
2019-11-19 14:08:10 -05:00
parent bb5e85d087
commit d9adc2f0de
4 changed files with 5 additions and 5 deletions

View File

@@ -619,7 +619,7 @@ export default class BaseAPI {
}
refObject = refObject[attribute];
if (!refObject) {
if (refObject === undefined) {
this.throwSCORMError(invalidErrorCode, invalidErrorMessage);
break;
}