Skip to content

Commit

Permalink
[BUGFIX] Fix notice
Browse files Browse the repository at this point in the history
Resolves: #529
  • Loading branch information
georgringer authored May 6, 2024
1 parent 24b597d commit 06edeb5
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 @@ -162,7 +162,7 @@ protected function createDemandFromSettings(): Demand
$demand->setCategoryCombination($categoryCombination);
$demand->setIncludeSubCategories((bool)($this->settings['includeSubcategories'] ?? false));

if ($this->settings['pages']) {
if ($this->settings['pages'] ?? false) {
$demand->setPages($this->getPidList());
}
$demand->setSingleRecords((string)($this->settings['singleRecords'] ?? ''));
Expand Down

0 comments on commit 06edeb5

Please sign in to comment.