]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_rewrite.php
query masking rewritten in more SQLs, several cleanups and fix on beg link
[mailer.git] / inc / modules / admin / what-config_rewrite.php
index 0fe433f49f243d23e6b58bc92604b36b9f16a906..a1e728b2fdb0dfd89477a4bd3fbe403fb8ed01be 100644 (file)
@@ -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
 {