Fix bug
This commit is contained in:
parent
d41c345cac
commit
78ad4f670b
@ -1122,6 +1122,7 @@ events.prototype.__precompile_getArray = function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
events.prototype.__precompile_text = function (text) {
|
events.prototype.__precompile_text = function (text) {
|
||||||
|
if (typeof text != 'string') return text;
|
||||||
return text.replace(/\${(.*?)}/g, function (word, value) {
|
return text.replace(/\${(.*?)}/g, function (word, value) {
|
||||||
return "${" + core.replaceValue(value) + "}";
|
return "${" + core.replaceValue(value) + "}";
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user