From 0755f20e98bf5ed7452379d93e2f52333d5cc025 Mon Sep 17 00:00:00 2001 From: Ard Geuze Date: Wed, 11 Dec 2024 20:32:53 +0100 Subject: [PATCH] Implementeer optimalisatie afbeeldingen --- lib/entity/profiel/Profiel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/entity/profiel/Profiel.php b/lib/entity/profiel/Profiel.php index 92d645f60..a3676da32 100644 --- a/lib/entity/profiel/Profiel.php +++ b/lib/entity/profiel/Profiel.php @@ -705,7 +705,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();