From a798724366bfc9e01bd369582f9ae102b70ed52b Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 8 Nov 2013 03:08:03 -0500 Subject: [PATCH] Fix error merging items with relations in unsynced library --- chrome/content/zotero/xpcom/data/libraries.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/data/libraries.js b/chrome/content/zotero/xpcom/data/libraries.js index a9790cc86..367de7269 100644 --- a/chrome/content/zotero/xpcom/data/libraries.js +++ b/chrome/content/zotero/xpcom/data/libraries.js @@ -63,7 +63,7 @@ Zotero.Libraries = new function () { this.getType = function (libraryID) { - if (libraryID === 0 || libraryID == Zotero.libraryID) { + if (libraryID === 0 || libraryID == Zotero.libraryID || ("" + libraryID).indexOf('local/') == 0) { return 'user'; } var sql = "SELECT libraryType FROM libraries WHERE libraryID=?";