mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Parse null values as string '' instead of 'null' to match PHP
This commit is contained in:
parent
0d3a7b73cf
commit
39c53c5530
@ -329,7 +329,7 @@
|
||||
"]";
|
||||
}
|
||||
|
||||
return '(typeof _'+_variable.variable+' != "undefined" && typeof '+result + '!="undefined" ? ' + result + ':"")';
|
||||
return '(typeof _'+_variable.variable+' != "undefined" && typeof '+result + '!="undefined" && ' + result + ' != null ? ' + result + ':"")';
|
||||
}
|
||||
|
||||
_throwCompilerErr("Variable $" + _variable.variable + " is not defined.");
|
||||
|
Loading…
Reference in New Issue
Block a user