mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
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) {
|
this.getType = function (libraryID) {
|
||||||
if (libraryID === 0 || libraryID == Zotero.libraryID) {
|
if (libraryID === 0 || libraryID == Zotero.libraryID || ("" + libraryID).indexOf('local/') == 0) {
|
||||||
return 'user';
|
return 'user';
|
||||||
}
|
}
|
||||||
var sql = "SELECT libraryType FROM libraries WHERE libraryID=?";
|
var sql = "SELECT libraryType FROM libraries WHERE libraryID=?";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue