Fix sync breakage from 78e87a351

This commit is contained in:
Dan Stillman 2018-06-07 17:18:28 -04:00
parent d0087d59d5
commit 2b49e94a61

View File

@ -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 || {});
}