fix bug specifying an HTML return address separately
[freeside.git] / 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 ) ) {