summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2008-06-04 18:50:25 +0000
committerivan <ivan>2008-06-04 18:50:25 +0000
commit2d33e855ad54a5332555ee2e2d45b05a374baeb8 (patch)
treefbff1488359df7ceefe00200cef50c6eef7d439c /httemplate
parent5e9fa0e297a01cd0d89361f8dc4ae6808627229c (diff)
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
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/misc/fax-invoice.cgi2
1 files changed, 1 insertions, 1 deletions
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');