Fix error merging items with relations in unsynced library

This commit is contained in:
Dan Stillman 2013-11-08 03:08:03 -05:00
parent 76da3e67fb
commit a798724366

View file

@ -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=?";