Browse Source

Correctif MerchantResolver

packProduct
Guillaume 3 years ago
parent
commit
b3f1b9e297
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Resolver/MerchantResolver.php

+ 1
- 1
Resolver/MerchantResolver.php View File

} // distant } // distant
else { else {
foreach ($merchants as $merchant) { 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) { if ($url && strlen($url) && strpos($url, $_SERVER['HTTP_HOST']) !== false) {
$this->currentMerchant = $merchant; $this->currentMerchant = $merchant;
} }

Loading…
Cancel
Save