Editing of network type handler partialy finished
[mailer.git] / doubler.php
index 590af15e0ad424177d56fd9a18f28d88acab023c..34668ed6701ad66ecd87425f418ca0aae017e0f0 100644 (file)
@@ -63,7 +63,7 @@ $content = array(
 // Begin with doubler script...
 if (isFormSent()) {
        // Secure points (so only integer/double values are allowed
-       setRequestPostElement('points', bigintval(postRequestElement('points')));
+       setPostRequestElement('points', bigintval(postRequestElement('points')));
 
        // Begin with doubling process
        if ((isPostRequestElementSet('userid')) && (isPostRequestElementSet('pass')) && (isPostRequestElementSet('points'))) {
@@ -83,7 +83,7 @@ if (isFormSent()) {
                } // END - if
 
                // Remove any dots and unwanted chars from the points
-               setRequestPostElement('points', bigintval(round(convertCommaToDot(postRequestElement('points')))));
+               setPostRequestElement('points', bigintval(round(convertCommaToDot(postRequestElement('points')))));
 
                // Probe for enough points
                $probe_points = ((postRequestElement('points') >= getConfig('doubler_min')) && (postRequestElement('points') <= getConfig('doubler_max')));