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);
$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__);