diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index 70e57d2d17..78da0c810d 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -5501,7 +5501,7 @@ Zotero.Item.prototype.toResponseJSON = function (options = {}) { json.meta.numChildren = this.numChildren(); } else { - json.meta.numChildren = false; + json.meta.numChildren = 0; } if (this.isImportedAttachment()) {