diff --git a/controllers/grid/users/reviewer/form/ThankReviewerForm.php b/controllers/grid/users/reviewer/form/ThankReviewerForm.php index fd23eab0b20..ee937275080 100644 --- a/controllers/grid/users/reviewer/form/ThankReviewerForm.php +++ b/controllers/grid/users/reviewer/form/ThankReviewerForm.php @@ -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());