From 49bcb9d87faaaceecf6a2d3f84985fd7e252584c Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 10 Apr 2018 16:07:22 -0700 Subject: [PATCH] and turn it back off as an agent override, RT#79636 --- FS/FS/Template_Mixin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.11.0