Skip to content

Commit

Permalink
Merge pull request #12 from bozana/10653-1
Browse files Browse the repository at this point in the history
after review: fix deprecated functions
  • Loading branch information
bozana authored Dec 19, 2024
2 parents 4b90ab1 + 312517d commit 4ffd98a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CoinsPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function insertFooter(string $hookName, array $params) : bool
$vars[] = ['rft.au', $author->getFullName()];
}

if ($doi = $article->getStoredPubId('doi')) {
if ($doi = $publication->getStoredPubId('doi')) {
$vars[] = ['rft_id', 'info:doi/' . $doi];
}
if ($publication->getData('pages')) {
Expand Down

0 comments on commit 4ffd98a

Please sign in to comment.