Direct registration added, typo fixed, admin session on missing/failed login fixed...
[mailer.git] / inc / modules / guest / action-sponsor.php
index 994c04959c95a03e978f82a4c7528fd43036d1a3..deeabb891b61f044879b04f8b179907d4b36d946 100644 (file)
@@ -40,7 +40,7 @@ if (!defined('__SECURITY')) {
 ADD_DESCR("guest", __FILE__);
 
 // Load the include file
-$INC = sprintf("%sinc/modules/guest/what-%s.php", PATH, $GLOBALS['what']);
+$INC = sprintf("%sinc/modules/guest/what-%s.php", PATH, SQL_ESCAPE($GLOBALS['what']));
 if (FILE_READABLE($INC)) {
        // Ok, we finally load the guest action module
        include($INC);