]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_beg.php
Endless redirect fixed and needless action/what sets removed
[mailer.git] / inc / modules / admin / what-config_beg.php
index 3ea6ae21ff0838c511f4e7835e52361f203bad2f..8fc4128de9422f1ee8cccec0b11f619a3d8e8b44 100644 (file)
@@ -46,17 +46,17 @@ addMenuDescription('admin', __FILE__);
 
 if (isFormSent()) {
        // Translate german decimal commas to computer decimal dots
-       setRequestPostElement('beg_points'      , convertCommaToDot(postRequestElement('beg_points')      ));
-       setRequestPostElement('beg_points_max'  , convertCommaToDot(postRequestElement('beg_points_max')  ));
-       setRequestPostElement('beg_notify_bonus', convertCommaToDot(postRequestElement('beg_notify_bonus')));
+       setPostRequestParameter('beg_points'      , convertCommaToDot(postRequestParameter('beg_points')      ));
+       setPostRequestParameter('beg_points_max'  , convertCommaToDot(postRequestParameter('beg_points_max')  ));
+       setPostRequestParameter('beg_notify_bonus', convertCommaToDot(postRequestParameter('beg_notify_bonus')));
 
        // Save settings
        adminSaveSettingsFromPostData();
 
        // Remember new settings
-       setConfigEntry('beg_rallye'       , postRequestElement('beg_rallye'));
-       setConfigEntry('beg_ral_en_notify', postRequestElement('beg_ral_en_notify'));
-       setConfigEntry('beg_ral_di_notify', postRequestElement('beg_ral_di_notify'));
+       setConfigEntry('beg_rallye'       , postRequestParameter('beg_rallye'));
+       setConfigEntry('beg_ral_en_notify', postRequestParameter('beg_ral_en_notify'));
+       setConfigEntry('beg_ral_di_notify', postRequestParameter('beg_ral_di_notify'));
 } else {
        // Prepare constants for the template
        $content['points']           = translateComma(getConfig('beg_points')      , false);