commit 2b49e94a617e31a5f3c98884f1da552d7aa073f0 parent d0087d59d5476cab008d8d68a8dad0db486635ee Author: Dan Stillman <dstillman@zotero.org> Date: Thu, 7 Jun 2018 17:18:28 -0400 Fix sync breakage from 78e87a351 Diffstat:
| M | chrome/content/zotero/xpcom/data/collection.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/data/collection.js b/chrome/content/zotero/xpcom/data/collection.js @@ -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 || {}); }