Skip hub filtering if hub list is alraedy empty #800
This commit is contained in:
parent
a21ed66490
commit
44b3753ece
1 changed files with 5 additions and 0 deletions
|
|
@ -99,6 +99,11 @@ class HubSelector
|
||||||
|
|
||||||
// loop through all enabled filters
|
// loop through all enabled filters
|
||||||
foreach ($this->getActiveFilters() as $hub_filter) {
|
foreach ($this->getActiveFilters() as $hub_filter) {
|
||||||
|
// no hubs left to filter
|
||||||
|
if (empty($filtered_hubs)) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
$f = $this->container->get($hub_filter);
|
$f = $this->container->get($hub_filter);
|
||||||
|
|
||||||
// check if supported area is exempted from this filter
|
// check if supported area is exempted from this filter
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue