]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_rewrite.php
Fixes/rewrites for content-type
[mailer.git] / inc / modules / admin / what-config_rewrite.php
index 3e61d342f4c2d009f4eae4b29408c05cd35a853c..2ca1373ca65c46e0e6603059c73fd2f7d3f7d5e3 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 02/12/2004 *
- * ================                             Last change: 02/12/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 02/12/2004 *
+ * ===================                          Last change: 02/12/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-config_rewrite.php                          *
@@ -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
-       setRequestPostElement('rewrite_skip', implode(':', $MODs));
-       unsetPostRequestElement('mod');
+       setPostRequestParameter('rewrite_skip', implode(':', $MODs));
+       unsetPostRequestParameter('mod');
 
        // Save settings
        adminSaveSettingsFromPostData();