Fix error merging items with relations in unsynced library
This commit is contained in:
parent
76da3e67fb
commit
a798724366
1 changed files with 1 additions and 1 deletions
|
@ -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=?";
|
||||
|
|
Loading…
Reference in a new issue