diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-01-22 16:10:50 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-01-22 16:10:50 -0800 |
commit | 5636d20dd0078d789f53fd915a53f047c1205044 (patch) | |
tree | 735e29944b0baafd791bddf5d6f996b33f313261 | |
parent | 3366d3f5937d6cd0120cbc4ebe92fda5f9d3f897 (diff) |
fix no email checkbox with old-style combined invoice send event, RT#29176
-rw-r--r-- | FS/FS/cust_bill.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index eff47912c..7204821d3 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -1066,7 +1066,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 |