and turn it back off as an agent override, RT#79636
authorIvan Kohler <ivan@freeside.biz>
Tue, 10 Apr 2018 23:07:11 +0000 (16:07 -0700)
committerIvan Kohler <ivan@freeside.biz>
Tue, 10 Apr 2018 23:07:11 +0000 (16:07 -0700)
FS/FS/Template_Mixin.pm

index f1db477..8bfc51c 100644 (file)
@@ -825,7 +825,7 @@ sub print_generic {
         );
     }
 
         );
     }
 
-    if ( $conf->exists('invoice_usesummary', $agentnum) ) {
+    if ( $conf->config_bool('invoice_usesummary', $agentnum) ) {
       $invoice_data{'summarypage'} = $summarypage = 1;
     }
 
       $invoice_data{'summarypage'} = $summarypage = 1;
     }