Fixing an empty string check
This commit is contained in:
@@ -619,7 +619,7 @@ export default class BaseAPI {
|
||||
}
|
||||
|
||||
refObject = refObject[attribute];
|
||||
if (!refObject) {
|
||||
if (refObject === undefined) {
|
||||
this.throwSCORMError(invalidErrorCode, invalidErrorMessage);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user