summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2005-11-01 05:32:56 +0000
committerivan <ivan>2005-11-01 05:32:56 +0000
commitc01186e8877f8985e652af77ce88e18bd516fa91 (patch)
tree191ba8d7f703e5a4470851e7b22c1d242f9d6854 /FS
parentd190275909c4bbcd6f69c6163800765760d27503 (diff)
yarg
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_bill.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index c1724afe6..4424797c1 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -836,7 +836,7 @@ sub spool_csv {
my($self, %opt) = @_;
if ( $opt{'dest'} ) {
- my %invoicing_list = map { /^(POST|FAX)$/ or $1 = 'EMAIL'; $1 => 1 }
+ my %invoicing_list = map { /^(POST|FAX)$/ or 'EMAIL' =~ /^(.*)$/; $1 => 1 }
$self->cust_main->invoicing_list;
return unless $invoicing_list{$opt{'dest'}};
}