]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_surfbar.php
fooRequestElementBar() functions renamed, adding of request parameters added:
[mailer.git] / inc / modules / admin / what-config_surfbar.php
index 3b34e9b6563623c5aed410c4f6056d7cbae8f4e9..81ac1596c621aaa9f4ffb499cc73d1eefbc487d9 100644 (file)
@@ -47,9 +47,9 @@ addMenuDescription('admin', __FILE__);
 // Was the form submitted?
 if (isFormSent()) {
        // Replace german decimal comma with computer decimal dot
-       if (isPostRequestElementSet(('surfbar_static_reward')))   setPostRequestElement('surfbar_static_reward'  , convertCommaToDot(postRequestElement('surfbar_static_reward')));
-       if (isPostRequestElementSet(('surfbar_static_costs')))    setPostRequestElement('surfbar_static_costs'   , convertCommaToDot(postRequestElement('surfbar_static_costs')));
-       if (isPostRequestElementSet(('surfbar_dynamic_percent'))) setPostRequestElement('surfbar_dynamic_percent', convertCommaToDot(postRequestElement('surfbar_dynamic_percent')));
+       if (isPostRequestParameterSet(('surfbar_static_reward')))   setPostRequestParameter('surfbar_static_reward'  , convertCommaToDot(postRequestParameter('surfbar_static_reward')));
+       if (isPostRequestParameterSet(('surfbar_static_costs')))    setPostRequestParameter('surfbar_static_costs'   , convertCommaToDot(postRequestParameter('surfbar_static_costs')));
+       if (isPostRequestParameterSet(('surfbar_dynamic_percent'))) setPostRequestParameter('surfbar_dynamic_percent', convertCommaToDot(postRequestParameter('surfbar_dynamic_percent')));
 
        // Save settings
        adminSaveSettingsFromPostData();