summaryrefslogtreecommitdiff
path: root/FS/FS/cust_bill.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-01-22 16:10:47 -0800
committerIvan Kohler <ivan@freeside.biz>2015-01-22 16:10:47 -0800
commit7924a4bd53059d7ba5088d1b6c7662775c82a660 (patch)
tree56fa2cb94a21b862390082f6c427c1d2704349c2 /FS/FS/cust_bill.pm
parent3a8fa4f27ef08792e3d653cee167979a411f89d1 (diff)
fix no email checkbox with old-style combined invoice send event, RT#29176
Diffstat (limited to 'FS/FS/cust_bill.pm')
-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 ad60b21..bcfbbc7 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -1059,7 +1059,7 @@ sub send {
$self->email($opt)
if ( grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list or !@invoicing_list )
- && ! $self->invoice_noemail;
+ && ! $cust_main->invoice_noemail;
$self->print($opt)
if grep { $_ eq 'POST' } @invoicing_list; #postal