Skip to content

Commit

Permalink
Merge pull request #3508 from bozana/7528-stable
Browse files Browse the repository at this point in the history
pkp/pkp-lib#7528 Crossref export: use given name in submission locale…
  • Loading branch information
bozana authored Aug 25, 2022
2 parents f04e9d4 + 33b62fb commit e82d3a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function createJournalArticleNode($doc, $submission) {
}

} else {
$personNameNode->appendChild($node = $doc->createElementNS($deployment->getNamespace(), 'surname', htmlspecialchars(ucfirst($author->getFullName(false)), ENT_COMPAT, 'UTF-8')));
$personNameNode->appendChild($node = $doc->createElementNS($deployment->getNamespace(), 'surname', htmlspecialchars(ucfirst($givenNames[$locale]), ENT_COMPAT, 'UTF-8')));
}

$contributorsNode->appendChild($personNameNode);
Expand Down

0 comments on commit e82d3a5

Please sign in to comment.