From c6b30b94e4a25d942968cbbce2e322833ff7e40b Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 20 Jul 2011 03:07:07 +0000 Subject: [PATCH] Fix error on failure to open DB (broken since megacommit) --- chrome/content/zotero/xpcom/zotero.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 05f4b826e..4c74f690d 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -455,7 +455,7 @@ if(appInfo.platformVersion[0] >= 2) { Zotero.Repo.init(); } else { Zotero.debug("Loading in full mode"); - _initFull(); + if(!_initFull()) return false; } this.initialized = true;