Skip to content

Commit

Permalink
Stop using deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Feb 5, 2024
1 parent 1d1c2c4 commit d80e646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GoogleScholarPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public function submissionView($hookName, $args)

$publication = $submission->getCurrentPublication();
$publicationLocale = $publication->getData('locale');
$submissionBestId = $submission->getBestId();
$submissionBestId = $publication->getData('urlPath') ?? $submission->getId();

// Contributors
$authors = $publication->getData('authors');
Expand Down

0 comments on commit d80e646

Please sign in to comment.