X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-;h=3a71404735fe12c6201485be5694e0327bd56d4a;hb=9afd6ec5878544a7982c50ed9c0dd7de37606d5b;hp=c865842667308ebd66a5bf45bd379286a6b8d0e6;hpb=64c8349613addc3da2242c5cd6b99d64e3fb5f8e;p=mailer.git diff --git a/inc/modules/guest/action- b/inc/modules/guest/action- index c865842667..3a71404735 100644 --- a/inc/modules/guest/action- +++ b/inc/modules/guest/action- @@ -39,7 +39,10 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} // END - if +} elseif (isBlockModeEnabled()) { + // Block mode detected + return; +} // Add description as navigation point addMenuDescription('guest', __FILE__); @@ -47,9 +50,6 @@ addMenuDescription('guest', __FILE__); if ((!isExtensionActive('')) && (!isAdmin())) { loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('')); return; -} elseif (isBlockModeEnabled()) { - // Block mode detected - return; } // Load the include file