Fixed a typo, thanks to profi-concept. Function INCLUDE_READABLE() introduced
[mailer.git] / inc / modules / index.php
index 27111a3f10b3b72ff64de8f1a7bdd80bb160e0f1..8ca5c6cf014d7452bcd4cbca87de777cb60e2d2a 100644 (file)
@@ -89,7 +89,7 @@ $BLOCK_MODE = false;
 $INC = sprintf("inc/modules/guest/action-%s.php", $GLOBALS['action']);
 
 // Is the file there?
-if ((FILE_READABLE($INC)) && (VALIDATE_MENU_ACTION("guest", $GLOBALS['action'], $GLOBALS['what']))) {
+if ((INCLUDE_READABLE($INC)) && (VALIDATE_MENU_ACTION("guest", $GLOBALS['action'], $GLOBALS['what']))) {
        // Requested module is available so we load it
        LOAD_INC_ONCE($INC);
 } else {