Direct registration added, typo fixed, admin session on missing/failed login fixed...
[mailer.git] / inc / modules / member / action-account.php
index 7de43963674f983338612a4bec100b3531ef362f..91e746e0961879e7eb4d6438e50648dff1e005f5 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);