Fix sync breakage from 78e87a351
This commit is contained in:
parent
d0087d59d5
commit
2b49e94a61
|
@ -698,7 +698,7 @@ Zotero.Collection.prototype.fromJSON = function (json) {
|
|||
this.name = json.name;
|
||||
this.parentKey = json.parentCollection ? json.parentCollection : false;
|
||||
|
||||
this.setRelations(json.relations);
|
||||
this.setRelations(json.relations || {});
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user