Skip to content

Commit c9ac241

Browse files
committed
ACP2E-508: Switching to Arabic locale changes price to "0"
1 parent 8bd9c1a commit c9ac241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Directory/Model/Currency.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ private function formatCurrency(string $price, array $options): string
438438
}
439439

440440
if ((array_key_exists(LocaleCurrency::CURRENCY_OPTION_DISPLAY, $options)
441-
&& $options[LocaleCurrency::CURRENCY_OPTION_DISPLAY] === \Magento\Framework\Currency::NO_SYMBOL)) {
441+
&& $options[LocaleCurrency::CURRENCY_OPTION_DISPLAY] === \Magento\Framework\Currency::NO_SYMBOL)) {
442442
$formattedCurrency = str_replace(' ', '', $formattedCurrency);
443443
}
444444

0 commit comments

Comments
 (0)