From: ivan Date: Thu, 14 Jul 2011 17:31:45 +0000 (+0000) Subject: fix CDRs showing on typeset (but not printed) invoices w/squelch_cdr, RT#13561 X-Git-Tag: freeside_2_3_0~22 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=06a1de4f0969dbbe1a689c1185393e664cdb907f;ds=sidebyside fix CDRs showing on typeset (but not printed) invoices w/squelch_cdr, RT#13561 --- diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index ec8ed29dc..25f9c495a 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -2168,7 +2168,7 @@ sub print_text { $params{'time'} = $today if $today; $params{'template'} = $template if $template; $params{$_} = $opt{$_} - foreach grep $opt{$_}, qw( unsquealch_cdr notice_name ); + foreach grep $opt{$_}, qw( unsquelch_cdr notice_name ); $self->print_generic( %params ); } @@ -2210,7 +2210,7 @@ sub print_latex { $params{'time'} = $today if $today; $params{'template'} = $template if $template; $params{$_} = $opt{$_} - foreach grep $opt{$_}, qw( unsquealch_cdr notice_name ); + foreach grep $opt{$_}, qw( unsquelch_cdr notice_name ); $template ||= $self->_agent_template;