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