X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fadmin%2Faction-newsletter.php;h=e20ac2a733b7ef5614356fdfc9ab50e191f63d83;hb=03f62d0b89aa9276ac37f4d616d940fae184d850;hp=605c6a41f0354c243ede1c5c70aa617d17775b1f;hpb=7b0f17cd637e388049d2167811e4332cec1e979b;p=mailer.git diff --git a/inc/modules/admin/action-newsletter.php b/inc/modules/admin/action-newsletter.php index 605c6a41f0..e20ac2a733 100644 --- a/inc/modules/admin/action-newsletter.php +++ b/inc/modules/admin/action-newsletter.php @@ -46,12 +46,12 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) { ADD_DESCR('admin', __FILE__); // Load the include file -$INC = sprintf("inc/modules/admin/what-%s.php", SQL_ESCAPE($GLOBALS['what'])); +$INC = sprintf("inc/modules/admin/what-%s.php", getWhat()); if (isIncludeReadable($INC)) { // Ok, we finally load the admin action module loadInclude($INC); } else { - addFatalMessage(__FILE__, __LINE__, getMessage('ADMIN_ACTION_404'), $GLOBALS['what']); + addFatalMessage(__FILE__, __LINE__, getMessage('ADMIN_ACTION_404'), getWhat()); } //