commit f7fe9ab64b382e9ab7625e61803828464f84d16b parent a798724366bfc9e01bd369582f9ae102b70ed52b Author: Dan Stillman <dstillman@zotero.org> Date: Fri, 8 Nov 2013 03:09:34 -0500 Better fix for merging items in unsynced libraries Addresses a79872436 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 || ("" + libraryID).indexOf('local/') == 0) { + if (libraryID === 0 || !Zotero.libraryID || libraryID == Zotero.libraryID) { return 'user'; } var sql = "SELECT libraryType FROM libraries WHERE libraryID=?";