Fixes
authorRoland Häder <roland@mxchange.org>
Tue, 3 Nov 2009 16:09:47 +0000 (16:09 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 3 Nov 2009 16:09:47 +0000 (16:09 +0000)
inc/modules/admin/what-config_doubler.php

index 45029a4..69a6a46 100644 (file)
@@ -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')));