]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-
Fixes for 'Can't use function return value in write context in /foo/bar.php'
[mailer.git] / inc / modules / admin / action-
index 69b93d86a1b421a439174752623b59264c04c827..b376444c6890eb72e1e6e615d25832bffcf86bf0 100644 (file)
@@ -41,7 +41,7 @@ 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);