Fix for _GET instead of variable, thanks to monakoianar
authorRoland Häder <roland@mxchange.org>
Sat, 11 Oct 2008 13:42:20 +0000 (13:42 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 11 Oct 2008 13:42:20 +0000 (13:42 +0000)
inc/databases.php
inc/mysql-manager.php

index 83f8dfa..e502b6c 100644 (file)
@@ -113,7 +113,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
-define('CURR_SVN_REVISION', "487");
+define('CURR_SVN_REVISION', "488");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
index ecfa0a3..bf54a9f 100644 (file)
@@ -2118,7 +2118,7 @@ function GENERATE_RECEIVER_LIST ($cat, $receiver, $mode="") {
                $CAT_WHERE .= " AND d.holiday_active='N'";
        } // END - if
 
-       if ((EXT_IS_ACTIVE("html_mail")) && ($_GET['mode'] == "html")) {
+       if ((EXT_IS_ACTIVE("html_mail")) && ($mode == "html")) {
                // Only include HTML receivers
                $result = SQL_QUERY_ESC("SELECT d.userid FROM "._MYSQL_PREFIX."_user_data AS d ".$CAT_TABS." WHERE d.status='CONFIRMED' AND d.html='Y'".$CAT_WHERE." ORDER BY d.%s %s LIMIT %s",
                 array($cat, $_CONFIG['order_select'], $_CONFIG['order_mode'], $receiver), __FILE__, __LINE__);