X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_rewrite.php;h=a1e728b2fdb0dfd89477a4bd3fbe403fb8ed01be;hp=0fe433f49f243d23e6b58bc92604b36b9f16a906;hb=4d6226782aa4ba157dca8c3891412ba50159481f;hpb=75ad748a68473ace540251427a74fb781b1145e9 diff --git a/inc/modules/admin/what-config_rewrite.php b/inc/modules/admin/what-config_rewrite.php index 0fe433f49f..a1e728b2fd 100644 --- a/inc/modules/admin/what-config_rewrite.php +++ b/inc/modules/admin/what-config_rewrite.php @@ -47,7 +47,7 @@ if (isset($_POST['ok'])) foreach ($_POST['mod'] as $mod=>$sel) { // Now you can never deselect the admin module, bah!!! ;-) - if (($sel == "Y") || ($mod == "admin")) + if (($sel == 'Y') || ($mod == "admin")) { // Add module to queue $MODs[] = $mod; @@ -59,7 +59,7 @@ if (isset($_POST['ok'])) unset($_POST['mod']); // Save settings - ADMIN_SAVE_SETTINGS($_POST, "_config", "config='0'"); + ADMIN_SAVE_SETTINGS($_POST); } else {