]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_doubler.php
Fixes
[mailer.git] / inc / modules / admin / what-config_doubler.php
index 45029a468423b1d120b3fd2d7f2c070742cc01e8..69a6a46dc73d5be535c770ae58fa7f19debef707 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')));