From: Janusz Dobrowolski Date: Mon, 9 Oct 2017 08:21:21 +0000 (+0200) Subject: Fixed bug in exchange rate display helper. X-Git-Tag: v2.4.3~27 X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=45c2d587dcdef257924f9a4a87f5634a2290033f Fixed bug in exchange rate display helper. --- diff --git a/includes/ui/ui_view.inc b/includes/ui/ui_view.inc index 389ea530..37c17432 100644 --- a/includes/ui/ui_view.inc +++ b/includes/ui/ui_view.inc @@ -278,7 +278,7 @@ function exchange_rate_display($from_currency, $to_currency, $date_, $force_edit if ($from_currency != $to_currency) { - $rate = get_post('_ex_rate'); + $rate = input_num('_ex_rate'); if (check_ui_refresh() || !$rate) { // readonly or ui context changed $comp_currency = get_company_currency(); if ($from_currency == $comp_currency)