]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-rallye.php
HTML->XHTML preparation (still *A LOT* to convert
[mailer.git] / inc / modules / admin / action-rallye.php
index aff9a0fe1eb71073d95deaa46bd4919898eb3330..c1b230cd9079496386cb75b1f90ad603bcce6c1c 100644 (file)
@@ -41,12 +41,12 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 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);
 } else {
-       ADD_FATAL(ADMIN_404_ACTION_1.$GLOBALS['what'].ADMIN_404_ACTION_2);
+       addFatalMessage(ADMIN_404_ACTION_1.$GLOBALS['what'].ADMIN_404_ACTION_2);
 }
 
 //