]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/action-admin.php
Fixed a typo, thanks to profi-concept. Function INCLUDE_READABLE() introduced
[mailer.git] / inc / modules / guest / action-admin.php
index 7da2d0635584a34628171672473ccd76055b99f8..6b3787f03a8718fd24c553b410540e2803e67b45 100644 (file)
@@ -42,11 +42,11 @@ if (!defined('__SECURITY')) {
 
 // Only when one admin link is clicked...
 $INC = sprintf("inc/modules/guest/what-%s.php", SQL_ESCAPE($GLOBALS['what']));
-if (FILE_READABLE($INC)) {
+if (INCLUDE_READABLE($INC)) {
        // Ok, we finally load the guest action module
        LOAD_INC($INC);
 } else {
-       addFatalMessage(sprintf(getMessage('GUEST_404_ACTION'), SQL_ESCAPE($GLOBALS['what'])));
+       addFatalMessage(getMessage('GUEST_404_ACTION'), $GLOBALS['what']);
 }
 
 //