]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/index.php
A lot while() conditions rewritten to SQL_FETCHARRAY(), see bug #107, @TODO tags...
[mailer.git] / inc / modules / index.php
index 94ef4689a71c94e602a76f948d958e8ac27a1e90..b74d1a162738cf88a05bde2061b1839502e13a94 100644 (file)
@@ -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']);