diff --git a/Classes/Domain/Service/UnsubscribeUrlService.php b/Classes/Domain/Service/UnsubscribeUrlService.php index 4109bb5..7495965 100644 --- a/Classes/Domain/Service/UnsubscribeUrlService.php +++ b/Classes/Domain/Service/UnsubscribeUrlService.php @@ -88,7 +88,7 @@ protected function getNewsletterUrl(): string */ protected function getPidUnsubscribe(): int { - $unsubscribePid = (int)$this->site->getConfiguration()['luxletterUnsubscribePid'] ?? 0; + $unsubscribePid = (int)($this->site->getConfiguration()['luxletterUnsubscribePid'] ?? 0); if ($unsubscribePid === 0) { throw new MisconfigurationException( 'No unsubscribe page identifier found in site configuration',