]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_admin.php
Now debug_report_bug() will be called if ext_name or ext_ver is empty which should...
[mailer.git] / inc / modules / admin / what-config_admin.php
index 6db300e1794fbb34e94284a18d6718dd801d1661..4d78ddb8c6fbd7d8feb6e48e5337ae6ba2f5e45b 100644 (file)
@@ -38,7 +38,7 @@
 
 // Some security stuff...
 if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 }
 // Add description as navigation point
@@ -51,15 +51,15 @@ if (IS_FORM_SENT()) {
        // Prepare data for the template
        switch (getConfig('admin_menu'))
        {
-       case "NEW":
-               define('__ADMIN_MENU_NEW', ' chkecked="checked"');
-               define('__ADMIN_MENU_OLD'   , '');
-               break;
+               case "NEW":
+                       define('__ADMIN_MENU_NEW', ' checked="checked"');
+                       define('__ADMIN_MENU_OLD'   , '');
+                       break;
 
-       case "OLD":
-               define('__ADMIN_MENU_NEW', '');
-               define('__ADMIN_MENU_OLD'   , ' chkecked="checked"');
-               break;
+               case "OLD":
+                       define('__ADMIN_MENU_NEW', '');
+                       define('__ADMIN_MENU_OLD'   , ' checked="checked"');
+                       break;
        }
 
        // Display form