X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_rewrite.php;h=2ca1373ca65c46e0e6603059c73fd2f7d3f7d5e3;hb=8fc1c99d323e7599dd91071a5a772261b5d079a7;hp=8850308cdd54540f864be859a3a995f76c9b50e6;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60;p=mailer.git diff --git a/inc/modules/admin/what-config_rewrite.php b/inc/modules/admin/what-config_rewrite.php index 8850308cdd..2ca1373ca6 100644 --- a/inc/modules/admin/what-config_rewrite.php +++ b/inc/modules/admin/what-config_rewrite.php @@ -1,7 +1,7 @@ $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();