| @@ -160,9 +160,9 @@ | ||
| 160 | 160 | |
| 161 | 161 | // Fall back to unspecified currency symbol like `¤1,234.05`. |
| 162 | 162 | // @link https://en.wikipedia.org/wiki/Currency_sign_(typography). |
| 163 | 163 | if ( ! array_key_exists( $currency, self::CURRENCIES ) ) { |
| 164 | - return '¤' . number_format_i18n( $price, 2 ); | |
| 164 | + return ( $symbol ? '¤' : '' ) . number_format_i18n( $price, 2 ); | |
| 165 | 165 | } |
| 166 | 166 | |
| 167 | 167 | $currency_details = self::CURRENCIES[ $currency ]; |
| 168 | 168 | |