summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_bill.cgi
diff options
context:
space:
mode:
authorivan <ivan>2004-10-05 13:44:06 +0000
committerivan <ivan>2004-10-05 13:44:06 +0000
commite6b504f1d05efe176bb91c40cca089b41d2d2f49 (patch)
tree7b74e6027c67a91e5456b1f32ae4e5baa4762daf /httemplate/view/cust_bill.cgi
parent97c0616b60819a23dbc6d7d6ebf2ff1dc3446e91 (diff)
links to show alternate invoices also
Diffstat (limited to 'httemplate/view/cust_bill.cgi')
-rwxr-xr-xhttemplate/view/cust_bill.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi
index 3c23d60a8..116cd6dcc 100755
--- a/httemplate/view/cust_bill.cgi
+++ b/httemplate/view/cust_bill.cgi
@@ -4,7 +4,7 @@
#untaint invnum
my($query) = $cgi->keywords;
$query =~ /^((.+)-)?(\d+)$/;
-my $templatename = $1;
+my $templatename = $2;
my $invnum = $3;
my $cust_bill = qsearchs('cust_bill',{'invnum'=>$invnum});