Direct registration added, typo fixed, admin session on missing/failed login fixed...
[mailer.git] / inc / modules / admin / action-country.php
index c2326203b58c475f4977a2ac2399b8f86a151819..4736252208de367343f8e2977d127ac70de3adc6 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);