]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/action-sponsor.php
'what','action','module' and 'output_mode' wrapped into functions (WARNUNG: Code...
[mailer.git] / inc / modules / guest / action-sponsor.php
index b53694dd7ac276e3ca4f1c4364d45f4fe8a8d863..948fbf7cdfe10b82e7e16d9588aaf19d86a6eb53 100644 (file)
@@ -51,12 +51,12 @@ if (!defined('__SECURITY')) {
 ADD_DESCR('guest', __FILE__);
 
 // Load the include file
-$INC = sprintf("inc/modules/guest/what-%s.php", SQL_ESCAPE($GLOBALS['what']));
+$INC = sprintf("inc/modules/guest/what-%s.php", getWhat());
 if (isIncludeReadable($INC)) {
        // Ok, we finally load the guest action module
        loadInclude($INC);
 } else {
-       addFatalMessage(__FILE__, __LINE__, getMessage('GUEST_404_ACTION'), $GLOBALS['what']);
+       addFatalMessage(__FILE__, __LINE__, getMessage('GUEST_404_ACTION'), getWhat());
 }
 
 //