uc_store_js_util uses is_numeric in the same manner as [#129292]. The check should be replaced with something which takes the format settings into account.

Comments

Island Usurper’s picture

Status: Active » Closed (won't fix)

I think you meant #320309: Currency format settings are not taken into account in the "Credit card terminal".

Anyway. uc_store_js_utils() isn't actually used for currency_format that I can see. But if it were, I'd expect the JavaScript code that calls it to pass in the 'amount' value as an integer or float.

And making sure the input is recognizably numeric is exactly what I did for #320309. There's nothing at the moment to fix here, so thanks for the "heads up".