diff options
author | ivan <ivan> | 2004-10-05 13:44:06 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-10-05 13:44:06 +0000 |
commit | e6b504f1d05efe176bb91c40cca089b41d2d2f49 (patch) | |
tree | 7b74e6027c67a91e5456b1f32ae4e5baa4762daf /httemplate/view/cust_bill-pdf.cgi | |
parent | 97c0616b60819a23dbc6d7d6ebf2ff1dc3446e91 (diff) |
links to show alternate invoices also
Diffstat (limited to 'httemplate/view/cust_bill-pdf.cgi')
-rwxr-xr-x | httemplate/view/cust_bill-pdf.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/view/cust_bill-pdf.cgi b/httemplate/view/cust_bill-pdf.cgi index 1ef25d9e9..a72a60551 100755 --- a/httemplate/view/cust_bill-pdf.cgi +++ b/httemplate/view/cust_bill-pdf.cgi @@ -3,7 +3,7 @@ #untaint invnum my($query) = $cgi->keywords; $query =~ /^((.+)-)?(\d+)(.pdf)?$/; -my $templatename = $1; +my $templatename = $2; my $invnum = $3; my $cust_bill = qsearchs('cust_bill',{'invnum'=>$invnum}); |