]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-task.php
Mahor rewrite:
[mailer.git] / inc / modules / admin / action-task.php
index 5c61f44d8ff743f152cd842f899b1367497e56ff..9f28d4622f88f7f28788c017183af7f31ea2f563 100644 (file)
@@ -41,10 +41,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);