From: Roland Häder Date: Wed, 23 Jan 2013 11:31:36 +0000 (+0000) Subject: Fix for wrong variable name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1a27ebf17236325ab0de95a61701ac8e4f8e0616;p=mailer.git Fix for wrong variable name --- diff --git a/inc/libs/task_functions.php b/inc/libs/task_functions.php index 254c53af5e..dbe4b77ffd 100644 --- a/inc/libs/task_functions.php +++ b/inc/libs/task_functions.php @@ -251,7 +251,7 @@ function outputAdvancedOverview (&$result_main) { $excludedUserids = runFilterChain('config_userid_exclusion_sql', array()); if (count($excludedUserids) > 0) { // Exclude all - $userExcludeSql = ' AND `d`.`userid` NOT IN (' . implode(', ', $excludedUserids) . ')'; + $userExclusionSql .= ' AND `d`.`userid` NOT IN (' . implode(', ', $excludedUserids) . ')'; } // END - if // Check for more extensions @@ -273,7 +273,7 @@ WHERE (UNIX_TIMESTAMP() - `d`.`joined`) >= {?ap_inactive_since?} AND (UNIX_TIMESTAMP() - `d`.`last_online`) >= {?ap_inactive_since?} AND (UNIX_TIMESTAMP() - `d`.`ap_notified`) >= {?ap_inactive_since?} - " . runFilterChain('user_exclusion_sql', $userExcludeSql) . " + " . runFilterChain('user_exclusion_sql', $userExclusionSql) . " ORDER BY `d`.`userid` ASC"); $WHATs[] = 'list_autopurge';