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

index bd1dbe0..6f83c06 100644 (file)
@@ -2176,7 +2176,7 @@ sub print_html {
       && length(  $conf->config_orbase('invoice_htmlreturnaddress', $template) )
   ) {
     $invoice_data{'returnaddress'} =
-      join("\n", $conf->config('invoice_htmlreturnaddress', $template) );
+      join("\n", $conf->config_orbase('invoice_htmlreturnaddress', $template) );
   } else {
     $invoice_data{'returnaddress'} =
       join("\n", map {