From 3102cb94e097e20a6592527feaaf1fa039274f42 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Mon, 7 Jun 2010 19:06:05 +0200 Subject: Fix creation of non-existent logstore --- lib/bzpage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/bzpage.js') diff --git a/lib/bzpage.js b/lib/bzpage.js index 8f11eb5..b02d03c 100644 --- a/lib/bzpage.js +++ b/lib/bzpage.js @@ -664,9 +664,9 @@ BZPage.prototype.setUpLogging = function() { console.log("this.store wiped out!"); }, false); - if (!this.store) { + if (!this.log.store) { console.log("No this.store defined!"); - this.store = {}; + this.log.store = {}; } if (this.log.store.length > 0) { -- cgit