diff --git a/classes/controllers/grid/users/reviewer/PKPReviewerGridHandler.php b/classes/controllers/grid/users/reviewer/PKPReviewerGridHandler.php index 1198995551d..8bb23142853 100644 --- a/classes/controllers/grid/users/reviewer/PKPReviewerGridHandler.php +++ b/classes/controllers/grid/users/reviewer/PKPReviewerGridHandler.php @@ -780,7 +780,7 @@ public function reviewRead($args, $request) 'message' => 'log.review.reviewConfirmed', 'isTranslated' => false, 'dateLogged' => Core::getCurrentDate(), - 'editorName' => $user->getFullName(), + 'userName' => $user->getFullName(), 'submissionId' => $reviewAssignment->getSubmissionId(), 'round' => $reviewAssignment->getRound() ]); diff --git a/classes/decision/Repository.php b/classes/decision/Repository.php index f811aad4c22..767f7c9a479 100644 --- a/classes/decision/Repository.php +++ b/classes/decision/Repository.php @@ -2,8 +2,8 @@ /** * @file classes/decision/Repository.php * - * Copyright (c) 2014-2022 Simon Fraser University - * Copyright (c) 2000-2022 John Willinsky + * Copyright (c) 2014-2024 Simon Fraser University + * Copyright (c) 2000-2024 John Willinsky * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. * * @class Repository @@ -237,6 +237,7 @@ public function add(Decision $decision): int ? PKPSubmissionEventLogEntry::SUBMISSION_LOG_EDITOR_RECOMMENDATION : PKPSubmissionEventLogEntry::SUBMISSION_LOG_EDITOR_DECISION, 'userId' => Validation::loggedInAs() ?? $this->request->getUser()?->getId(), + 'editorName' => $editor->getFullName(), 'message' => $decisionType->getLog(), 'isTranslated' => false, 'dateLogged' => Core::getCurrentDate() @@ -378,7 +379,7 @@ abstract public function getDecisionTypes(): Collection; abstract public function getDeclineDecisionTypes(): array; /** - * Get a list of the decision types that a recommending user is + * Get a list of the decision types that a recommending user is * allowed to make given a submission stage id. * * @return DecisionType[]