From: Ivan Kohler Date: Tue, 10 Apr 2018 23:07:22 +0000 (-0700) Subject: and turn it back off as an agent override, RT#79636 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=49bcb9d87faaaceecf6a2d3f84985fd7e252584c;p=freeside.git and turn it back off as an agent override, RT#79636 --- diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index 791415f76..d86ce7169 100644 --- a/FS/FS/Template_Mixin.pm +++ b/FS/FS/Template_Mixin.pm @@ -831,7 +831,7 @@ sub print_generic { $invoice_data{'previous_credits'} = []; } - if ( $conf->exists('invoice_usesummary', $agentnum) ) { + if ( $conf->config_bool('invoice_usesummary', $agentnum) ) { $invoice_data{'summarypage'} = $summarypage = 1; }