}
// 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());
}
//