X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Femail-invoice.cgi;h=b24e0420f435540ff9155e415af3b70c2c151fda;hb=2a56c671635687bf2648eb3a7cf4bce228101af3;hp=269722f677320a10e40d319116dec225022561f5;hpb=fb4ab1073f0d15d660c6cdc4e07afebf68ef3924;p=freeside.git diff --git a/httemplate/misc/email-invoice.cgi b/httemplate/misc/email-invoice.cgi index 269722f67..b24e0420f 100755 --- a/httemplate/misc/email-invoice.cgi +++ b/httemplate/misc/email-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->email($template); +$cust_bill->email({ 'template' => $template }); my $custnum = $cust_bill->getfield('custnum');