Skip to content

Commit

Permalink
Fix publisher receiving notifications incorrectly, when multiple revi…
Browse files Browse the repository at this point in the history
…ewers are enabled
  • Loading branch information
engram-design committed Jan 16, 2021
1 parent e4c2ccb commit f9f58a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/Submissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function getNextReviewerUserGroup(Submission $submission)

foreach ($reviewerUserGroups as $key => $userGroup) {
if ($lastReviewer->isInGroup($userGroup)) {
$nextUserGroup = $userGroups[$key + 1] ?? $nextUserGroup;
$nextUserGroup = $reviewerUserGroups[$key + 1] ?? $nextUserGroup;
}
}

Expand Down

0 comments on commit f9f58a6

Please sign in to comment.