diff --git a/config/autoload/geolocation.global.php b/config/autoload/geolocation.global.php index bc2e28669..46d1b3e31 100644 --- a/config/autoload/geolocation.global.php +++ b/config/autoload/geolocation.global.php @@ -19,7 +19,7 @@ // GeoLite2 strategy only. // This ensures backwards compatibility with Shlink instances before GEOLOCATION_STRATEGIES was introduced. if ($geoliteLicense !== null && empty($geolocationResolvers)) { - $geolocationResolvers[] = [GeolocationStrategy::GEOLITE2]; + $geolocationResolvers = [GeolocationStrategy::GEOLITE2]; } return [