and turn it back off as an agent override, RT#79636
[freeside.git] / FS / FS / Template_Mixin.pm
index 6c4f6fe..14e52c5 100644 (file)
@@ -834,7 +834,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;
     }