From 7924a4bd53059d7ba5088d1b6c7662775c82a660 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 22 Jan 2015 16:10:47 -0800 Subject: [PATCH] fix no email checkbox with old-style combined invoice send event, RT#29176 --- FS/FS/cust_bill.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index ad60b2108..bcfbbc73f 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 -- 2.11.0