Skip to content

Commit

Permalink
#8948 Fixed activity log on review cancel (#8953)
Browse files Browse the repository at this point in the history
  • Loading branch information
touhidurabir authored May 11, 2023
1 parent b3e3c63 commit bb12810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/submissionFile/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ public function getWorkflowStageId(SubmissionFile $submissionFile): ?int
$reviewRoundDao = DAORegistry::getDAO('ReviewRoundDAO'); /** @var ReviewRoundDAO $reviewRoundDao */
$reviewRound = $reviewRoundDao->getBySubmissionFileId($submissionFile->getId());

return $reviewRound->getStageId();
return $reviewRound?->getStageId();
}

if ($fileStage === SubmissionFile::SUBMISSION_FILE_QUERY) {
Expand Down

0 comments on commit bb12810

Please sign in to comment.