Fix "extra is null" error (also fixed via API)
This commit is contained in:
parent
da5e8c549e
commit
2645f0de12
1 changed files with 1 additions and 1 deletions
|
@ -4209,7 +4209,7 @@ Zotero.Item.prototype.fromJSON = function (json, options = {}) {
|
||||||
var isValidForType = {};
|
var isValidForType = {};
|
||||||
var setFields = new Set();
|
var setFields = new Set();
|
||||||
var { fields: extraFields, creators: extraCreators, extra } = Zotero.Utilities.Internal.extractExtraFields(
|
var { fields: extraFields, creators: extraCreators, extra } = Zotero.Utilities.Internal.extractExtraFields(
|
||||||
json.extra !== undefined ? json.extra : '',
|
json.extra || '',
|
||||||
this,
|
this,
|
||||||
Object.keys(json)
|
Object.keys(json)
|
||||||
// TEMP until we move creator lines to real creators
|
// TEMP until we move creator lines to real creators
|
||||||
|
|
Loading…
Add table
Reference in a new issue