mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-16 03:34:48 +02:00
Etemplate: Consider null as false when parsing boolean values into template attributes
This commit is contained in:
@ -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") {
|
||||
|
Reference in New Issue
Block a user