Permalink
Browse files

make sure $bounce_unsubscribe_threshold is less or equal to blacklist…

…-email-on-bounce
  • Loading branch information...
michield committed Jul 25, 2016
1 parent 29d5ce6 commit 29790c5d6bff4154d88a4fc8add52fe4838931d1
Showing with 4 additions and 0 deletions.
  1. +4 −0 public_html/lists/admin/init.php
@@ -471,6 +471,10 @@
if (!defined('BLACKLIST_EMAIL_ON_BOUNCE')) {
define('BLACKLIST_EMAIL_ON_BOUNCE', 5);
}
if ($bounce_unsubscribe_threshold < BLACKLIST_EMAIL_ON_BOUNCE) {

This comment has been minimized.

@rafael0116

rafael0116 Feb 7, 2019

Shouldn't this be > ?

This comment has been minimized.

@michield

michield Feb 7, 2019

Author Member

yes, I think you're right. FYI @xh3n1
@rafael0116 fancy creating a PR?

$bounce_unsubscribe_threshold = BLACKLIST_EMAIL_ON_BOUNCE;
}
if (!defined('UNBLACKLIST_IN_PROFILE')) {
define('UNBLACKLIST_IN_PROFILE', false);
}

1 comment on commit 29790c5

@michield

This comment has been minimized.

Copy link
Member Author

michield commented on 29790c5 Feb 10, 2019

Ok, this should fix that 1a2cbef

Please sign in to comment.