commit a798724366bfc9e01bd369582f9ae102b70ed52b parent 76da3e67fb99ccb2923e97292f4bb4a232ad7d05 Author: Dan Stillman <dstillman@zotero.org> Date: Fri, 8 Nov 2013 03:08:03 -0500 Fix error merging items with relations in unsynced library Diffstat:
| M | 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 @@ -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=?";