Skip to content

Commit

Permalink
Fix for 3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Mar 4, 2019
1 parent 5a2c83b commit 734b9ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions CoinsPlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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())),
));
}

Expand Down
2 changes: 1 addition & 1 deletion version.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<version>
<application>coins</application>
<type>plugins.generic</type>
<release>1.0.2.0</release>
<release>1.0.2.1</release>
<date>2019-03-04</date>
<lazy-load>1</lazy-load>
<class>CoinsPlugin</class>
Expand Down

0 comments on commit 734b9ab

Please sign in to comment.