X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fmember%2Faction-stats.php;h=3e47e7fe834bd5c8f8b415372ffb7c9e12fad63f;hb=03f62d0b89aa9276ac37f4d616d940fae184d850;hp=ed3ec0f80cca63c31a6be5b8200f7e743dece3ea;hpb=7297440d795390abd70ddc339b1a81d34f76c953;p=mailer.git diff --git a/inc/modules/member/action-stats.php b/inc/modules/member/action-stats.php index ed3ec0f80c..3e47e7fe83 100644 --- a/inc/modules/member/action-stats.php +++ b/inc/modules/member/action-stats.php @@ -51,12 +51,12 @@ if (!defined('__SECURITY')) { ADD_DESCR('member', __FILE__); // Load the include file -$INC = sprintf("inc/modules/member/what-%s.php", SQL_ESCAPE($GLOBALS['what'])); +$INC = sprintf("inc/modules/member/what-%s.php", getWhat()); if (isIncludeReadable($INC)) { // Ok, we finally load the member action module loadInclude($INC); } else { - addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('MEMBER_404_ACTION'), $GLOBALS['what'])); + addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('MEMBER_404_ACTION'), getWhat())); } //