diff --git a/core/modules/wiki.js b/core/modules/wiki.js index a402cac6c..acc88d4fe 100755 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -641,10 +641,10 @@ exports.getTiddlerDataCached = function(titleOrTiddler,defaultData) { if(tiddler) { return this.getCacheForTiddler(tiddler.fields.title,"data",function() { // Return the frozen value - var value = self.getTiddlerData(tiddler.fields.title,defaultData); + var value = self.getTiddlerData(tiddler.fields.title,undefined); $tw.utils.deepFreeze(value); return value; - }); + }) || defaultData; } else { return defaultData; }