From 3435c786f849b925a9476ac6278368ae9f444ecd Mon Sep 17 00:00:00 2001 From: Georg Ringer Date: Thu, 31 Oct 2024 08:35:51 +0100 Subject: [PATCH] [TASK] Fix cgl --- Classes/Controller/AddressController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Controller/AddressController.php b/Classes/Controller/AddressController.php index d448fe40..d71e29b5 100755 --- a/Classes/Controller/AddressController.php +++ b/Classes/Controller/AddressController.php @@ -49,7 +49,7 @@ public function initializeAction(): void public function showAction(?Address $address = null) { - if ((int)($this->settings['singleRecords'] ?? 0) && !($this->settings['allowOverride'] ?? false) && ($this->settings['displayMode'] ?? '' === 'single')) { + if ((int) ($this->settings['singleRecords'] ?? 0) && !($this->settings['allowOverride'] ?? false) && ($this->settings['displayMode'] ?? '' === 'single')) { $address = $this->addressRepository->findByUid($this->settings['singleRecords']); } elseif (is_a($address, Address::class) && ($this->settings['detail']['checkPidOfAddressRecord'] ?? false)) { $address = $this->checkPidOfAddressRecord($address);