From 40e18f1f10e4c7b3e63cf728567459a2cc0dcbd5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 11 Oct 2008 13:42:20 +0000 Subject: [PATCH] Fix for _GET instead of variable, thanks to monakoianar --- inc/databases.php | 2 +- inc/mysql-manager.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index 83f8dfafd3..e502b6c81f 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -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); diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index ecfa0a3c20..bf54a9f45b 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -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__); -- 2.39.5