Skip to content

Commit

Permalink
pkp/pkp-lib#8887 Ensure review assignment belongs to the expected sub…
Browse files Browse the repository at this point in the history
…mission
  • Loading branch information
Vitaliy-1 authored and asmecher committed Nov 14, 2023
1 parent 23649a7 commit 259a62d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReviewReportPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public function display($args, $request)
$columns[$index] = isset($recommendations[$row->$index]) ? __($recommendations[$row->$index]) : '';
break;
case 'comments':
$reviewAssignment = Repo::reviewAssignment()->get($row->review_id);
$reviewAssignment = Repo::reviewAssignment()->get($row->review_id, $row->submission_id);
$body = '';

if ($reviewAssignment->getDateCompleted() != null && ($reviewFormId = $reviewAssignment->getReviewFormId())) {
Expand Down

0 comments on commit 259a62d

Please sign in to comment.