Skip to content

Commit

Permalink
pkp#10547 Thank reviewer functionality produces a fatal error
Browse files Browse the repository at this point in the history
  • Loading branch information
ewhanson committed Oct 29, 2024
1 parent 379684a commit 29e73e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/grid/users/reviewer/form/ThankReviewerForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function execute(...$functionArgs)

Hook::call('ThankReviewerForm::thankReviewer', [$submission, $reviewAssignment, $mailable]);

(new SendReviewToOrcid($submission, $context, $reviewAssignment))->execute();
(new SendReviewToOrcid($reviewAssignment->getId()))->execute();

if (!$this->getData('skipEmail')) {
$mailable->setData(Locale::getLocale());
Expand Down

0 comments on commit 29e73e7

Please sign in to comment.