From e39158031ac9c956396f35ff71d5923210c1d29a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 3 Nov 2009 16:09:47 +0000 Subject: [PATCH] Fixes --- inc/modules/admin/what-config_doubler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/modules/admin/what-config_doubler.php b/inc/modules/admin/what-config_doubler.php index 45029a4684..69a6a46dc7 100644 --- a/inc/modules/admin/what-config_doubler.php +++ b/inc/modules/admin/what-config_doubler.php @@ -46,8 +46,8 @@ addMenuDescription('admin', __FILE__); if (isFormSent()) { // Replace commata with decimal dot - setRequestPostElement('doubler_charge', convertCommaToDot((postRequestElement('doubler_charge') / 100))); - setRequestPostElement('doubler_ref' , convertCommaToDot((postRequestElement('doubler_ref') / 100))); + setRequestPostElement('doubler_charge', convertCommaToDot(postRequestElement('doubler_charge')) / 100); + setRequestPostElement('doubler_ref' , convertCommaToDot(postRequestElement('doubler_ref')) / 100); setRequestPostElement('doubler_min' , convertCommaToDot(postRequestElement('doubler_min'))); setRequestPostElement('doubler_max' , convertCommaToDot(postRequestElement('doubler_max'))); setRequestPostElement('doubler_left' , convertCommaToDot(postRequestElement('doubler_left'))); -- 2.39.5