]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-repair.php
Mahor rewrite:
[mailer.git] / inc / modules / admin / action-repair.php
index cee773a524074c41fbc760a5d7577b7859ecd5e8..6073f068df867850284b77cdca64525ed51601a9 100644 (file)
@@ -38,10 +38,10 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 }
 
 // Add description as navigation point
-ADD_DESCR("admin", basename(__FILE__));
+ADD_DESCR("admin", __FILE__);
 
 // Load the include file
-$INC = sprintf("%sinc/modules/admin/what-%s.php", PATH, $GLOBALS['what']);
+$INC = sprintf("%sinc/modules/admin/what-%s.php", PATH, SQL_ESCAPE($GLOBALS['what']));
 if (FILE_READABLE($INC)) {
        // Ok, we finally load the admin action module
        include($INC);