mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-22 23:16:53 +00:00
parent
31824f043e
commit
280909bb68
@ -171,7 +171,7 @@ Widget.prototype.evaluateMacroModule = function(name,actualParams,defaultValue)
|
||||
else for(var i=0; i<actualParams.length; ++i) {
|
||||
args.push(actualParams[i].value);
|
||||
}
|
||||
return macro.run.apply(this,args).toString();
|
||||
return (macro.run.apply(this,args) || "").toString();
|
||||
} else {
|
||||
return defaultValue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user