Skip to content

Commit

Permalink
Merge pull request #2466 from jnugent/master
Browse files Browse the repository at this point in the history
pkp/pkp-lib#4325 include affiliations for all authors
  • Loading branch information
asmecher authored Sep 16, 2019
2 parents 98b09ef + d669bf0 commit 8db5a87
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,7 @@ function generateAuthorNode($doc, $journal, $issue, $submission, $author, $autho
$authorElement->appendChild($doc->createElement('FirstName', ucfirst($author->getLocalizedGivenName())));
$authorElement->appendChild($doc->createElement('LastName', ucfirst($author->getLocalizedFamilyName())));
}
if ($authorIndex == 0) {
// See http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=7774
$authorElement->appendChild($doc->createElement('Affiliation', $author->getLocalizedAffiliation() . '. ' . $author->getEmail()));
}
$authorElement->appendChild($doc->createElement('Affiliation', $author->getLocalizedAffiliation() . '. ' . $author->getEmail()));

return $authorElement;
}
Expand Down

0 comments on commit 8db5a87

Please sign in to comment.