fix invoice_sections option, fallout from #21103
authorMark Wells <mark@freeside.biz>
Fri, 7 Jun 2013 19:09:30 +0000 (12:09 -0700)
committerMark Wells <mark@freeside.biz>
Fri, 7 Jun 2013 19:09:30 +0000 (12:09 -0700)
FS/FS/Template_Mixin.pm

index e4db2ee..e597e73 100644 (file)
@@ -800,7 +800,7 @@ sub print_generic {
   $adjust_section->{'sort_weight'} = $adjust_weight;
 
   my $unsquelched = $params{unsquelch_cdr} || $cust_main->squelch_cdr ne 'Y';
-  my $multisection = $conf->exists($tc.'_sections', $cust_main->agentnum);
+  my $multisection = $conf->exists($tc.'sections', $cust_main->agentnum);
   $invoice_data{'multisection'} = $multisection;
   my $late_sections = [];
   my $extra_sections = [];