]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-logout.php
More usage of GET_URL() than file()
[mailer.git] / inc / modules / member / action-logout.php
index d80fca3b99cceb22a146ab915177f05fa4a30af7..8c2867af95a4465887cfb56133fceb051a6df95c 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);