Direct registration added, typo fixed, admin session on missing/failed login fixed...
[mailer.git] / inc / modules / member / action-main.php
index 72e405d7ada3bf614c7945f92ea13b8475716e05..24359aa6fd70b4ce50aa7fc9d74dc22b235b63e8 100644 (file)
@@ -46,7 +46,7 @@ if (!defined('__SECURITY')) {
 ADD_DESCR("member", __FILE__);
 
 // Load the include file
-$INC_WHAT = sprintf("%sinc/modules/member/what-%s.php", PATH, $GLOBALS['what']);
+$INC_WHAT = sprintf("%sinc/modules/member/what-%s.php", PATH, SQL_ESCAPE($GLOBALS['what']));
 if (FILE_READABLE($INC_WHAT)) {
        // Ok, we finally load the member action module
        include_once($INC_WHAT);