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);