X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=modules.php;h=a56acc311ba784f7c096935c48150511515c9016;hb=5f5a73c72457ea761906640dc3d29749301102f9;hp=9cdeacb18ad9d6b635626caf9cd1152ca0b2124a;hpb=9b87babf90b27658be4a1cef2c0465e2ce9ed681;p=mailer.git diff --git a/modules.php b/modules.php index 9cdeacb18a..a56acc311b 100644 --- a/modules.php +++ b/modules.php @@ -100,7 +100,7 @@ if ((getConfig('maintenance') == "Y") && (!IS_ADMIN()) && ($GLOBALS['module'] != define('__MODULE', sprintf("inc/modules/%s.php", SQL_ESCAPE($GLOBALS['module']))); // Did we found the module listed in allowed modules and are we successfully connected? - $check = CHECK_MODULE($GLOBALS['module']); + $check = checkModulePermissions($GLOBALS['module']); switch ($check) { case "admin_only":