diff --git a/core/modules/filters/varlist.js b/core/modules/filters/varlist.js index e8677dbf5..5c6db3616 100644 --- a/core/modules/filters/varlist.js +++ b/core/modules/filters/varlist.js @@ -19,7 +19,7 @@ Export our filter function */ exports.varlist = function(source,operator,options) { // Check for common optimisations - var variableInfo = options.widget.getVariableInfo(operator.operand); + var variableInfo = operator.operand && options.widget.getVariableInfo(operator.operand); if(variableInfo) { return options.wiki.makeTiddlerIterator(variableInfo.resultList); } else {