Skip to content

Commit

Permalink
[Workspace] bug fix PdfManager (#2690)
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfyWin authored Jan 9, 2024
1 parent 598df57 commit 3d2d83f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/evaluation/Manager/PdfManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function getWorkspaceParticipationCertificates(array $evaluations): ?arra
{
$certificates = [];
foreach ($evaluations as $evaluation) {
$certificateFilename = TextNormalizer::toKey($evaluation->getWorkspace()->getName().'-'.TextNormalizer::toKey($evaluation->getUser()->getFullName()).'.pdf');
$certificateFilename = TextNormalizer::toKey($evaluation->getWorkspace()->getName().'-'.$evaluation->getUser()->getFullName()).'.pdf';
$certificates[$certificateFilename] = $this->getWorkspaceParticipationCertificate($evaluation);
}

Expand All @@ -108,7 +108,7 @@ public function getWorkspaceSuccessCertificates(array $evaluations): ?array
{
$certificates = [];
foreach ($evaluations as $evaluation) {
$certificateFilename = TextNormalizer::toKey($evaluation->getWorkspace()->getName().'-'.TextNormalizer::toKey($evaluation->getUser()->getFullName()).'.pdf');
$certificateFilename = TextNormalizer::toKey($evaluation->getWorkspace()->getName().'-'.$evaluation->getUser()->getFullName()).'.pdf';
$certificates[$certificateFilename] = $this->getWorkspaceSuccessCertificate($evaluation);
}

Expand Down

0 comments on commit 3d2d83f

Please sign in to comment.