Fix typo in previous commit (c81961a9be)

This commit is contained in:
Dan Stillman 2018-12-16 21:36:59 -05:00
parent c81961a9be
commit adcae4b902

View file

@ -879,7 +879,7 @@ Zotero.Utilities.Internal = {
*
* @return {Object|false} - Creator in API JSON format, or false
*/
getFirstCreatorFromInternalJSON: function (json) {
getFirstCreatorFromItemJSON: function (json) {
var primaryCreatorType = Zotero.CreatorTypes.getName(
Zotero.CreatorTypes.getPrimaryIDForType(
Zotero.ItemTypes.getID(json.itemType)