@@ -66,7 +66,7 @@ class MerchantResolver | |||
} // distant | |||
else { | |||
foreach ($merchants as $merchant) { | |||
$url = $merchant->getMerchantSettingValue(MerchantSettingDefinition::SETTING_URL); | |||
$url = $merchant->getSettingValue(MerchantSettingDefinition::SETTING_URL); | |||
if ($url && strlen($url) && strpos($url, $_SERVER['HTTP_HOST']) !== false) { | |||
$this->currentMerchant = $merchant; | |||
} |