mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 15:38:27 +01:00
Fix attributes referencing not-set content evaluated as true
This commit is contained in:
parent
85082b08f2
commit
fe4eb42fca
@ -275,7 +275,8 @@ var et2_arrayMgr = /** @class */ (function () {
|
|||||||
// Split the expression at a possible "="
|
// Split the expression at a possible "="
|
||||||
var parts = _expression.split('=');
|
var parts = _expression.split('=');
|
||||||
// Expand the first value
|
// Expand the first value
|
||||||
var val = '' + this.expandName(parts[0]);
|
var val = this.expandName(parts[0]);
|
||||||
|
val = typeof val == "undefined" ? '' : '' + val;
|
||||||
// If a second expression existed, test that one
|
// If a second expression existed, test that one
|
||||||
if (typeof parts[1] != "undefined") {
|
if (typeof parts[1] != "undefined") {
|
||||||
// Expand the second value
|
// Expand the second value
|
||||||
|
@ -297,7 +297,8 @@ export class et2_arrayMgr
|
|||||||
const parts = _expression.split('=');
|
const parts = _expression.split('=');
|
||||||
|
|
||||||
// Expand the first value
|
// Expand the first value
|
||||||
const val = '' + this.expandName(parts[0]);
|
let val = this.expandName(parts[0]);
|
||||||
|
val = typeof val == "undefined" ? '' : '' + val;
|
||||||
|
|
||||||
// If a second expression existed, test that one
|
// If a second expression existed, test that one
|
||||||
if (typeof parts[1] != "undefined") {
|
if (typeof parts[1] != "undefined") {
|
||||||
|
Loading…
Reference in New Issue
Block a user