diff --git a/core/modules/treenodes/macro.js b/core/modules/treenodes/macro.js index c86cf61a1..f24857dde 100644 --- a/core/modules/treenodes/macro.js +++ b/core/modules/treenodes/macro.js @@ -126,7 +126,7 @@ Macro.prototype.parseMacroParamString = function(paramString) { }; Macro.prototype.hasParameter = function(name) { - return $tw.utils.hop(this.params,name); + return this.params[name] !== undefined; }; Macro.prototype.cloneContent = function() {