fix missing information on invoices, RT#12461
[freeside.git] / FS / FS / cust_bill.pm
index fed1066..6a72862 100644 (file)
@@ -2553,7 +2553,7 @@ sub print_generic {
     #invoice from info
     'company_name'    => scalar( $conf->config('company_name', $agentnum) ),
     'company_address' => join("\n", $conf->config('company_address', $agentnum) ). "\n",
-    'company_phonenum'=> $conf->config('company_phonenum', $agentnum),
+    'company_phonenum'=> scalar( $conf->config('company_phonenum', $agentnum) ),
     'returnaddress'   => $returnaddress,
     'agent'           => &$escape_function($cust_main->agent->agent),