]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_rewrite.php
Password reset for admin login added (still buggy if cache is installed and sql_patch...
[mailer.git] / inc / modules / admin / what-config_rewrite.php
index 8fa8a3a52a4dd54e75ae4f01a9a3f72b6198abbb..9d16d7bfd62b59cbd3d336cd9df44098567702e3 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;
@@ -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