Local API: numChildren=0, not false (#4270)

This commit is contained in:
Dan Stillman 2023-12-29 05:14:42 -05:00
parent 3363cb448a
commit 6b79b5849e

View file

@ -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()) {