X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Findex.php;h=b74d1a162738cf88a05bde2061b1839502e13a94;hp=94ef4689a71c94e602a76f948d958e8ac27a1e90;hb=4001187f22197f55e5a1f211fc8defcc180f7c32;hpb=d8148e3f1f3a6762b2e786dbe99ada269dcf2ea0 diff --git a/inc/modules/index.php b/inc/modules/index.php index 94ef4689a7..b74d1a1627 100644 --- a/inc/modules/index.php +++ b/inc/modules/index.php @@ -52,7 +52,7 @@ if (REQUEST_ISSET_GET(('msg'))) { $ext = "unknown"; // Is extension given? - if (REQUEST_ISSET_GET(('ext'))) $ext = SQL_ESCAPE(REQUEST_GET('ext')); + if (REQUEST_ISSET_GET(('ext'))) $ext = REQUEST_GET(('ext')); // Which message shall we output? $msg = convertCodeToMessage(REQUEST_GET('msg')); @@ -83,7 +83,7 @@ if ((getConfig('guest_menu') == "Y") || (!EXT_IS_ACTIVE("sql_patches", true))) { LOAD_TEMPLATE("guest_menu_content"); // Disable block-mode by default -$BLOCK_MODE = false; +$GLOBALS['block_mode'] = false; // Construct FQFN $INC = sprintf("inc/modules/guest/action-%s.php", $GLOBALS['action']);