mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-17 20:11:23 +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.");
|
_throwCompilerErr("Variable $" + _variable.variable + " is not defined.");
|
||||||
|
Reference in New Issue
Block a user