Skip to content

Commit

Permalink
Use default zone config if no individual one exists
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackbitDevs authored Sep 30, 2024
1 parent 5cf17e9 commit 5c39e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Builder/ZoneBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function buildZone(RouteItemInterface $routeItem): ZoneInterface
// no valid zone found. use default one.
if ($validZone === false) {
$zoneConfig = $this->configuration->getConfigNode();
return $this->createZone($zoneConfig, 'dynamic_zone_'.$site->getId(), 'dynamic_zone_'.$site->getId(), [$site->getMainDomain()]);
return $this->createZone($zoneConfig, $site->getId(), 'dynamic_zone_'.$site->getId(), [$site->getMainDomain()]);
}

return $this->createZone($zoneConfig['config'], $zoneConfig['id'], $zoneConfig['name'], $zoneConfig['domains']);
Expand Down

0 comments on commit 5c39e3c

Please sign in to comment.