]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/action-admin.php
'what','action','module' and 'output_mode' wrapped into functions (WARNUNG: Code...
[mailer.git] / inc / modules / guest / action-admin.php
index a28716c64442b51c38ae6700241a257bf14c8d1e..844be918d2eba2f1c30a6e51b047600f8a54f955 100644 (file)
@@ -46,12 +46,12 @@ if (!defined('__SECURITY')) {
 }
 
 // Only when one admin link is clicked...
-$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());
 }
 
 //