Skip to content

Commit 8e4c2ca

Browse files
committed
ACP2E-1012: No space between a custom currency symbol and a price
1 parent f59beed commit 8e4c2ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/CurrencySymbol/Model/System/Currencysymbol.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ protected function _unserializeStoreConfig($configPath, $storeId = null)
292292
*/
293293
protected function getAllowedCurrencies()
294294
{
295-
$allowedCurrencies = [[]];
295+
$allowedCurrencies = [];
296296
$allowedCurrencies[] = explode(
297297
self::ALLOWED_CURRENCIES_CONFIG_SEPARATOR,
298298
$this->_scopeConfig->getValue(
@@ -330,6 +330,6 @@ protected function getAllowedCurrencies()
330330
}
331331
}
332332
}
333-
return array_unique(array_merge(...$allowedCurrencies));
333+
return array_unique(array_merge([], ...$allowedCurrencies));
334334
}
335335
}

0 commit comments

Comments
 (0)