diff --git a/api/js/etemplate/et2_core_arrayMgr.js b/api/js/etemplate/et2_core_arrayMgr.js index dedbc886cc..8661fa316d 100644 --- a/api/js/etemplate/et2_core_arrayMgr.js +++ b/api/js/etemplate/et2_core_arrayMgr.js @@ -278,7 +278,7 @@ var et2_arrayMgr = /** @class */ (function () { var parts = _expression.split('='); // Expand the first value var val = this.expandName(parts[0]); - val = typeof val == "undefined" ? '' : '' + val; + val = (typeof val == "undefined" || val === null) ? '' : '' + val; // If a second expression existed, test that one if (typeof parts[1] != "undefined") { // Expand the second value diff --git a/api/js/etemplate/et2_core_arrayMgr.ts b/api/js/etemplate/et2_core_arrayMgr.ts index d494e2ed03..38a191db97 100644 --- a/api/js/etemplate/et2_core_arrayMgr.ts +++ b/api/js/etemplate/et2_core_arrayMgr.ts @@ -301,7 +301,7 @@ export class et2_arrayMgr // Expand the first value let val = this.expandName(parts[0]); - val = typeof val == "undefined" ? '' : '' + val; + val = (typeof val == "undefined" || val === null) ? '' : '' + val; // If a second expression existed, test that one if (typeof parts[1] != "undefined") {