mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-09 16:35:02 +02:00
Parse null values as string '' instead of 'null' to match PHP
This commit is contained in:
@ -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.");
|
||||
|
Reference in New Issue
Block a user