[freeside-commits] branch FREESIDE_3_BRANCH updated. 5636d20dd0078d789f53fd915a53f047c1205044

Ivan ivan at 420.am
Thu Jan 22 16:10:52 PST 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  5636d20dd0078d789f53fd915a53f047c1205044 (commit)
      from  3366d3f5937d6cd0120cbc4ebe92fda5f9d3f897 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5636d20dd0078d789f53fd915a53f047c1205044
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Jan 22 16:10:50 2015 -0800

    fix no email checkbox with old-style combined invoice send event, RT#29176

diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index eff4791..7204821 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

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_bill.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list