Skip to content

Commit

Permalink
[FIX] load imprint config values with scope store
Browse files Browse the repository at this point in the history
load imprint values with store scope to allow different values for different store views
  • Loading branch information
David Verholen authored Mar 24, 2017
1 parent f8c2b71 commit 732501b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Block/Imprint/Content.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use Magento\Framework\App\Config\ScopeConfigInterface;
use Magento\Directory\Api\CountryInformationAcquirerInterface;
use Magento\Framework\Exception\NoSuchEntityException;
use Magento\Store\Model\ScopeInterface;

/**
* Class Content
Expand Down Expand Up @@ -137,6 +138,6 @@ public function getEmailJs($parts)
*/
public function getImprintValue($field)
{
return $this->scopeConfig->getValue(self::XML_PATH_IMPRINT . $field);
return $this->scopeConfig->getValue(self::XML_PATH_IMPRINT . $field, ScopeInterface::SCOPE_STORES);
}
}

0 comments on commit 732501b

Please sign in to comment.