]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-newsletter.php
Fixed a typo, thanks to profi-concept. Function INCLUDE_READABLE() introduced
[mailer.git] / inc / modules / admin / action-newsletter.php
index eae1d188f896f37fe2c5bdbeab72767bf3372b28..e1338dae6c24cd97567fb3beca5618d659c25dfa 100644 (file)
@@ -42,11 +42,11 @@ ADD_DESCR("admin", __FILE__);
 
 // Load the include file
 $INC = sprintf("inc/modules/admin/what-%s.php", SQL_ESCAPE($GLOBALS['what']));
-if (FILE_READABLE($INC)) {
+if (INCLUDE_READABLE($INC)) {
        // Ok, we finally load the admin action module
        LOAD_INC($INC);
 } else {
-       addFatalMessage(ADMIN_404_ACTION_1.$GLOBALS['what'].ADMIN_404_ACTION_2);
+       addFatalMessage(getMessage('ADMIN_ACTION_404'), $GLOBALS['what']);
 }
 
 //