diff --git a/CoinsPlugin.inc.php b/CoinsPlugin.inc.php index 1eebe20..047efa9 100644 --- a/CoinsPlugin.inc.php +++ b/CoinsPlugin.inc.php @@ -88,9 +88,8 @@ function insertFooter($hookName, $params) { $authors = $article->getAuthors(); if ($firstAuthor = array_shift($authors)) { $vars = array_merge($vars, array( - array('rft.aulast', $firstAuthor->getLastName()), - array('rft.aufirst', $firstAuthor->getFirstName()), - array('rft.auinit', $firstAuthor->getMiddleName()), + array('rft.aulast', $firstAuthor->getFamilyName($article->getLocale())), + array('rft.aufirst', $firstAuthor->getGivenName($article->getLocale())), )); } diff --git a/version.xml b/version.xml index c98da59..7c0f755 100644 --- a/version.xml +++ b/version.xml @@ -13,7 +13,7 @@ coins plugins.generic - 1.0.2.0 + 1.0.2.1 2019-03-04 1 CoinsPlugin