diff --git a/vendor/magento/module-company/Model/CountryInformationProvider.php b/vendor/magento/module-company/Model/CountryInformationProvider.php index 230cba933bf1..1f4c9a9daaf8 100644 --- a/vendor/magento/module-company/Model/CountryInformationProvider.php +++ b/vendor/magento/module-company/Model/CountryInformationProvider.php @@ -127,7 +127,7 @@ public function getActualRegionName($countryCode, $regionId, $regionName) { $regionsList = $this->getRegionsList(); - if (isset($regionsList[$countryCode]) && !empty($regionsList[$countryCode][$regionId])) { + if ($regionId !== null && isset($regionsList[$countryCode]) && !empty($regionsList[$countryCode][$regionId])) { return $regionsList[$countryCode][$regionId]; }