From f9a75efb30015b468fa7e2416cc15d7dad5cf1f1 Mon Sep 17 00:00:00 2001 From: simon <31130607+forgive38@users.noreply.github.com> Date: Fri, 20 Sep 2024 14:36:08 +0200 Subject: [PATCH] pkp/pkp-lib#10427 update: allows recommendOnly editor to open a new review round --- classes/decision/Repository.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/classes/decision/Repository.php b/classes/decision/Repository.php index dd8087059f0..f15d66a7321 100644 --- a/classes/decision/Repository.php +++ b/classes/decision/Repository.php @@ -90,11 +90,13 @@ public function getDecisionTypesMadeByRecommendingUsers(int $stageId): array case WORKFLOW_STAGE_ID_SUBMISSION: $recommendatorsAvailableDecisions = [ new SendExternalReview() - ]; + ]; + break; case WORKFLOW_STAGE_ID_EXTERNAL_REVIEW: - $recommendatorsAvailableDecisions = [ - new NewExternalReviewRound() - ]; + $recommendatorsAvailableDecisions = [ + new NewExternalReviewRound() + ]; + break; } Hook::call('Workflow::RecommendatorDecisions', [&$recommendatorsAvailableDecisions, $stageId]);