Skip to content

Commit

Permalink
Bugfix: nur an aktive Nutzer senden
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasKrais authored Jul 9, 2016
1 parent 3499b95 commit 403f983
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/class.multinewsletter_newsletter.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ public function prepare($group_ids, $article_id, $fallback_clang_id) {
if($newsletter->clang_id == $fallback_clang_id && count($where_offline_langs) > 0) {
$query_add_users .= " OR ". implode(" OR ", $where_offline_langs);
}
$query_add_users .= ")";
$query_add_users .= ") AND status = 1";
$result_add_users = new rex_sql();
$result_add_users->setQuery($query_add_users);
}
Expand Down Expand Up @@ -486,4 +486,4 @@ public function send($numberMails) {

return true;
}
}
}

0 comments on commit 403f983

Please sign in to comment.