fooRequestElementBar() functions renamed, adding of request parameters added:
[mailer.git] / inc / modules / admin / what-config_rewrite.php
index d2cf11cd91657c0d46386cdcca2fe72013f678b3..2ca1373ca65c46e0e6603059c73fd2f7d3f7d5e3 100644 (file)
@@ -47,7 +47,7 @@ addMenuDescription('admin', __FILE__);
 if (isFormSent()) {
        // Generate string
        $MODs = array();
-       foreach (postRequestElement('mod') as $mod => $sel) {
+       foreach (postRequestParameter('mod') as $mod => $sel) {
                // Now you can never deselect the admin module, bah!!! ;-)
                if (($sel == 'Y') || ($mod == 'admin')) {
                        // Add module to queue
@@ -56,8 +56,8 @@ if (isFormSent()) {
        }
 
        // Implode array to string and remove posted mod array
-       setPostRequestElement('rewrite_skip', implode(':', $MODs));
-       unsetPostRequestElement('mod');
+       setPostRequestParameter('rewrite_skip', implode(':', $MODs));
+       unsetPostRequestParameter('mod');
 
        // Save settings
        adminSaveSettingsFromPostData();