Skip to content

Commit

Permalink
[TASK] Fix cgl
Browse files Browse the repository at this point in the history
  • Loading branch information
georgringer committed Oct 31, 2024
1 parent bc7e158 commit 3435c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Controller/AddressController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3435c78

Please sign in to comment.