Skip to content

Commit

Permalink
after review: fix deprecated functions
Browse files Browse the repository at this point in the history
  • Loading branch information
bozana committed Dec 19, 2024
1 parent 4b90ab1 commit 312517d
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 312517d

Please sign in to comment.