fooRequestElementBar() functions renamed, adding of request parameters added:
[mailer.git] / inc / modules / admin / what-config_surfbar.php
index b38fed5a2c43c07c36187dea3571a4877aec4828..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')))   setRequestPostElement('surfbar_static_reward'  , convertCommaToDot(postRequestElement('surfbar_static_reward')));
-       if (isPostRequestElementSet(('surfbar_static_costs')))    setRequestPostElement('surfbar_static_costs'   , convertCommaToDot(postRequestElement('surfbar_static_costs')));
-       if (isPostRequestElementSet(('surfbar_dynamic_percent'))) setRequestPostElement('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();