Skip to content

fix: ensure runtime currency code is a string

Henning Leutz requested to merge next-2.x into main

Previously in QUI/ERP/Currency/EventHandler.php, the script output for window.RUNTIME_CURRENCY was not quoted, which could cause failures if the currency code was not a valid JavaScript variable name. This change wraps the call to Handler::getRuntimeCurrency()->getCode() in quotes to ensure it is interpreted as a string.

Merge Request-Berichte

Lade