From 2d33e855ad54a5332555ee2e2d45b05a374baeb8 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 4 Jun 2008 18:50:25 +0000 Subject: this should fix the random "HylaFax support has not been configured" error, caused by cust_bill->fax getting called instead of cust_main->fax field --- httemplate/misc/fax-invoice.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate') diff --git a/httemplate/misc/fax-invoice.cgi b/httemplate/misc/fax-invoice.cgi index e2e6db095..2591fceb8 100755 --- a/httemplate/misc/fax-invoice.cgi +++ b/httemplate/misc/fax-invoice.cgi @@ -12,7 +12,7 @@ my $invnum = $3; my $cust_bill = qsearchs('cust_bill',{'invnum'=>$invnum}); die "Can't find invoice!\n" unless $cust_bill; -$cust_bill->fax($template); +$cust_bill->fax_invoice($template); my $custnum = $cust_bill->getfield('custnum'); -- cgit v1.2.1