X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fadmin%2Fwhat-config_rewrite.php;h=9d16d7bfd62b59cbd3d336cd9df44098567702e3;hb=d997f1621c6e6e0427166bd96690e0825387dadd;hp=bc6c58fd7b4e043cde1904851bde6592d099a1fe;hpb=e1653405d28923c78b2e292125306ccf61138f24;p=mailer.git diff --git a/inc/modules/admin/what-config_rewrite.php b/inc/modules/admin/what-config_rewrite.php index bc6c58fd7b..9d16d7bfd6 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 { @@ -72,17 +72,17 @@ if (isset($_POST['ok'])) if (empty($title)) $title = "---"; // Already registered module? - if (ereg($mod, $CONFIG['rewrite_skipped_mods'])) + if (ereg($mod, $_CONFIG['rewrite_skip'])) { // Found - $y = " checked"; + $y = ' checked'; $n = ""; } else { // Not found $y = ""; - $n = " checked"; + $n = ' checked'; } // Remember data in array for the dynamic row template