projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7e47c8
)
Fixed bug in exchange rate display helper.
author
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Mon, 9 Oct 2017 08:21:21 +0000
(10:21 +0200)
committer
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Mon, 9 Oct 2017 08:21:21 +0000
(10:21 +0200)
includes/ui/ui_view.inc
patch
|
blob
|
history
diff --git
a/includes/ui/ui_view.inc
b/includes/ui/ui_view.inc
index 389ea5302d389acb3a17b12996edd409656ade79..37c17432a85b6051e2ee219f1d26d4d288158c41 100644
(file)
--- 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)