We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1727c7e commit f2304f2Copy full SHA for f2304f2
app/code/Magento/Config/Model/Config/Backend/Currency/DefaultCurrency.php
@@ -27,7 +27,7 @@ public function afterSave()
27
);
28
}
29
30
- if (!in_array($this->getValue(), (array)$this->_getAllowedCurrencies())) {
+ if (!in_array($this->getValue(), $this->_getAllowedCurrencies())) {
31
throw new \Magento\Framework\Exception\LocalizedException(
32
__('Sorry, the default display currency you selected is not available in allowed currencies.')
33
0 commit comments