diff --git a/src/Service/HubSelector.php b/src/Service/HubSelector.php index fa1fb0b6..89265c66 100644 --- a/src/Service/HubSelector.php +++ b/src/Service/HubSelector.php @@ -99,6 +99,11 @@ class HubSelector // loop through all enabled filters foreach ($this->getActiveFilters() as $hub_filter) { + // no hubs left to filter + if (empty($filtered_hubs)) { + break; + } + $f = $this->container->get($hub_filter); // check if supported area is exempted from this filter