projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0b019cb
)
RT#17599: display cancelled services from history [welcome_email sensitive to noexpor...
author
Jonathan Prykop
<jonathan@freeside.biz>
Fri, 8 Jul 2016 00:09:27 +0000
(19:09 -0500)
committer
Jonathan Prykop
<jonathan@freeside.biz>
Fri, 8 Jul 2016 00:09:27 +0000
(19:09 -0500)
FS/FS/svc_acct.pm
patch
|
blob
|
history
diff --git
a/FS/FS/svc_acct.pm
b/FS/FS/svc_acct.pm
index
74ddcd5
..
a86db9c
100644
(file)
--- a/
FS/FS/svc_acct.pm
+++ b/
FS/FS/svc_acct.pm
@@
-738,7
+738,7
@@
sub insert {
#welcome email
my @welcome_exclude_svcparts = $conf->config('svc_acct_welcome_exclude');
#welcome email
my @welcome_exclude_svcparts = $conf->config('svc_acct_welcome_exclude');
- unless (
grep { $_ eq $self->svcpart } @welcome_exclude_svcparts
) {
+ unless (
$FS::svc_Common::noexport_hack or ( grep { $_ eq $self->svcpart } @welcome_exclude_svcparts )
) {
my $error = '';
my $msgnum = $conf->config('welcome_msgnum', $agentnum);
if ( $msgnum ) {
my $error = '';
my $msgnum = $conf->config('welcome_msgnum', $agentnum);
if ( $msgnum ) {