]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-task.php
More misc fixes and rewrites (sorry, lame description)
[mailer.git] / inc / modules / admin / action-task.php
index 8897cf761970194fd9a8b15b4a03ec89f71519a7..bdc3fe5402b71c56519b737b0fdf1fd2c44b679a 100644 (file)
@@ -49,12 +49,12 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 ADD_DESCR('admin', __FILE__);
 
 // Load the include file
-$INC = sprintf("inc/modules/admin/what-%s.php", SQL_ESCAPE($GLOBALS['what']));
+$INC = sprintf("inc/modules/admin/what-%s.php", getWhat());
 if (isIncludeReadable($INC)) {
        // Ok, we finally load the admin action module
        loadInclude($INC);
 } else {
-       addFatalMessage(__FILE__, __LINE__, getMessage('ADMIN_ACTION_404'), $GLOBALS['what']);
+       addFatalMessage(__FILE__, __LINE__, getMessage('ADMIN_ACTION_404'), getWhat());
 }
 
 //