]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_rewrite.php
Removal of sql_patches should now remove what=stats2 in member menu
[mailer.git] / inc / modules / admin / what-config_rewrite.php
index bc6c58fd7b4e043cde1904851bde6592d099a1fe..f02d461c2c79d3a3138a5c1b0e1091ce39081e63 100644 (file)
@@ -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