Skip to content

Commit

Permalink
Merge pull request #14 from bozana/7528
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 5b8328f + 84fe133 commit 17665d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter/ArticleCrossrefXmlFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public 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 17665d4

Please sign in to comment.