diff options
author | ivan <ivan> | 2004-03-12 08:17:22 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-03-12 08:17:22 +0000 |
commit | 7dac99feb4d0e8ca4ced4a5af113112679affaf8 (patch) | |
tree | 0c8b42048c83f9bb02917aa1785fb0c3508202a6 /FS | |
parent | 0718d6c7bc61075243d2f44f0df30fe6431f0f72 (diff) |
emaildecline-exclude skips any errors that contain the strings now, not just match exactly
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_main.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index a9fcb2b66..fc744dc5f 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -1888,7 +1888,7 @@ sub realtime_bop { if ( !$options{'quiet'} && !$realtime_bop_decline_quiet && $conf->exists('emaildecline') && grep { $_ ne 'POST' } $self->invoicing_list - && ! grep { $_ eq $transaction->error_message } + && ! grep { $transaction->error_message =~ /$_/ } $conf->config('emaildecline-exclude') ) { my @templ = $conf->config('declinetemplate'); |