Skip to content

Commit

Permalink
Merge pull request #1234 from csrdelft/feature/vierkante-profielfotos
Browse files Browse the repository at this point in the history
Implementeer optimalisatie afbeeldingen
  • Loading branch information
ardjuh authored Dec 11, 2024
2 parents 685d32d + 0755f20 commit 0d7f51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/entity/profiel/Profiel.php
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ public function getLink($vorm = 'civitas'): string
if ($vorm === 'pasfoto') {
return $this->getPasfotoTag();
}
if ($vorm === 'pasfoto.vierkant' && LoginService::mag(P_LEDEN_READ)) {
if ($vorm === 'pasfoto.vierkant') {
return $this->getPasfotoTag('', 'vierkant');
}
return $this->getNaam();
Expand Down

0 comments on commit 0d7f51d

Please sign in to comment.