Skip to content

Commit

Permalink
JI-3577 Fix upgradescript for params that are null instead of undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmars committed Jun 24, 2022
1 parent b10b343 commit 5162cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/h5p-content-upgrade-process.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ H5P.ContentUpgradeProcess = (function (Version) {
ContentUpgradeProcess.prototype.processField = function (field, params, done) {
var self = this;

if (params === undefined) {
if (params === undefined || params === null) {
return done();
}

Expand Down

0 comments on commit 5162cfd

Please sign in to comment.