Closed MacGyer closed 6 months ago
Current Behavior PHP 8.1 warning of undefined array key "pages" because $this->settings['pages'] is evaluated without fallback in https://github.com/FriendsOfTYPO3/tt_address/blob/master/Classes/Controller/AddressController.php#L165.
$this->settings['pages']
Expected behavior/output No warning/error should be emitted
Environment
Possible Solution
if ($this->settings['pages'] ?? false) { $demand->setPages($this->getPidList()); }
Additional context none
thanks
Bug Report
Current Behavior PHP 8.1 warning of undefined array key "pages" because
$this->settings['pages']
is evaluated without fallback in https://github.com/FriendsOfTYPO3/tt_address/blob/master/Classes/Controller/AddressController.php#L165.Expected behavior/output No warning/error should be emitted
Environment
Possible Solution
Additional context none