Skip to content

Commit

Permalink
[BUGFIX] Fix non-working disableOverrideDemand setting
Browse files Browse the repository at this point in the history
Refs #1175
  • Loading branch information
derhansen committed Dec 3, 2023
1 parent d762240 commit ae121ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Controller/EventController.php
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ public function searchAction(SearchDemand $searchDemand = null, array $overwrite
*/
protected function isOverwriteDemand(array $overwriteDemand): bool
{
return ($this->settings['disableOverrideDemand'] ?? 0) !== 1 && $overwriteDemand !== [];
return (int)($this->settings['disableOverrideDemand'] ?? 0) !== 1 && $overwriteDemand !== [];
}

/**
Expand Down

0 comments on commit ae121ff

Please sign in to comment.