projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
export svc_mailinglist to CGP groups, RT#7514
[freeside.git]
/
FS
/
FS
/
part_export
/
infostreet.pm
diff --git
a/FS/FS/part_export/infostreet.pm
b/FS/FS/part_export/infostreet.pm
index
309e7ce
..
ef16c7c
100644
(file)
--- a/
FS/FS/part_export/infostreet.pm
+++ b/
FS/FS/part_export/infostreet.pm
@@
-67,7
+67,7
@@
sub _export_insert {
$_ => $cust_main->getfield( $infostreet2cust_main{$_} );
} keys %infostreet2cust_main );
$_ => $cust_main->getfield( $infostreet2cust_main{$_} );
} keys %infostreet2cust_main );
- my @emails = grep { $_
ne 'POST'
} $cust_main->invoicing_list;
+ my @emails = grep { $_
!~ /^(POST|FAX)$/
} $cust_main->invoicing_list;
$contact_info{'email'} = $emails[0] if @emails;
#this one is kinda noment-specific
$contact_info{'email'} = $emails[0] if @emails;
#this one is kinda noment-specific