Local API: numChildren=0, not false (#4270)
This commit is contained in:
parent
3363cb448a
commit
6b79b5849e
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue