fix bug specifying an HTML return address separately
authorivan <ivan>
Fri, 30 Nov 2007 18:13:31 +0000 (18:13 +0000)
committerivan <ivan>
Fri, 30 Nov 2007 18:13:31 +0000 (18:13 +0000)
FS/FS/cust_bill.pm

index ccbcdf2..9ad9ffc 100644 (file)
@@ -2270,7 +2270,7 @@ sub print_html {
   ) {
 
     $invoice_data{'returnaddress'} =
-      join("\n", $conf->config('invoice_htmlreturnaddress', $template) );
+      join("\n", $conf->config_orbase('invoice_htmlreturnaddress', $template) );
 
   } elsif ( grep /\S/,
             $conf->config_orbase( 'invoice_latexreturnaddress', $template ) ) {