diff --git a/ReviewReportPlugin.php b/ReviewReportPlugin.php index 6b763bd..656ea59 100644 --- a/ReviewReportPlugin.php +++ b/ReviewReportPlugin.php @@ -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())) {