commit 71ca2c1b2c0d4259d0d2fc946c2866f32a9659b6 parent 80dc7be1be847910d80aabf3cc3742bf18a0d7da Author: Dan Stillman <dstillman@zotero.org> Date: Mon, 13 Oct 2008 20:12:19 +0000 Fix previous commit Diffstat:
| M | chrome/content/zotero/xpcom/schema.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js @@ -326,7 +326,7 @@ Zotero.Schema = new function(){ while (entries.hasMoreElements()) { var file = entries.getNext(); file.QueryInterface(Components.interfaces.nsIFile); - if (!file.exists || !file.leafName.match(fileNameRE) || file.isDirectory()) { + if (!file.exists() || !file.leafName.match(fileNameRE) || file.isDirectory()) { continue; } var newObj = new Zotero[Mode](file);