Skip to content

Commit 4056769

Browse files
author
Cari Spruiell
committed
MAGETWO-39919: Not All allowed Currencies displayed on switcher if base currency !=USD
- fixed code formatting
1 parent 4e86747 commit 4056769

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Config/Model/Config/Backend/Currency

1 file changed

+2
-2
lines changed

app/code/Magento/Config/Model/Config/Backend/Currency/Base.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ public function afterSave()
5050
$value = $this->getValue();
5151
if (!in_array($value, $this->_getInstalledCurrencies())) {
5252
throw new \Magento\Framework\Exception\LocalizedException(
53-
__('Sorry, we haven\'t installed the base currency you selected.'));
54-
53+
__('Sorry, we haven\'t installed the base currency you selected.')
54+
);
5555
}
5656

5757
$this->currencyFactory->create()->saveRates([$value =>[$value => 1]]);

0 commit comments

Comments
 (0)