Skip to content
Snippets Groups Projects
Commit 40567691 authored by Cari Spruiell's avatar Cari Spruiell
Browse files

MAGETWO-39919: Not All allowed Currencies displayed on switcher if base currency !=USD

 - fixed code formatting
parent 4e867473
Branches
No related merge requests found
......@@ -50,8 +50,8 @@ class Base extends AbstractCurrency
$value = $this->getValue();
if (!in_array($value, $this->_getInstalledCurrencies())) {
throw new \Magento\Framework\Exception\LocalizedException(
__('Sorry, we haven\'t installed the base currency you selected.'));
__('Sorry, we haven\'t installed the base currency you selected.')
);
}
$this->currencyFactory->create()->saveRates([$value =>[$value => 1]]);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment