projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0718d6c
)
emaildecline-exclude skips any errors that contain the strings now, not just match...
author
ivan
<ivan>
Fri, 12 Mar 2004 08:17:22 +0000
(08:17 +0000)
committer
ivan
<ivan>
Fri, 12 Mar 2004 08:17:22 +0000
(08:17 +0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
a9fcb2b
..
fc744dc
100644
(file)
--- 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');