diff options
| author | ivan <ivan> | 2008-06-04 18:51:43 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2008-06-04 18:51:43 +0000 |
| commit | 187479662c5391f3d535c00c5f399862a47547fa (patch) | |
| tree | f473014582088199f64a055d53ac8aa952e18211 /httemplate/misc | |
| parent | e342397f8a0380982bc05673d5a22f5da2cb47f7 (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/misc')
| -rwxr-xr-x | httemplate/misc/fax-invoice.cgi | 2 |
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'); |
