]> git.mxchange.org Git - mailer.git/commitdiff
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 83f8dfafd34b1227b5dfc11cdcc39b520f59d72e..e502b6c81f3cfce25725208ab0c9141ec5dd2585 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 ecfa0a3c20fe176334a05977af59c94ddaa78676..bf54a9f45b5b4dff9450c065025295a88bdff584 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__);