diff options
author | ivan <ivan> | 2004-04-02 11:23:34 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-04-02 11:23:34 +0000 |
commit | ea72b6b09a472a989e60fe5bba1884a629907e37 (patch) | |
tree | d249ca1b5dea178563c39b14abbf0159c12001bd /httemplate/view/cust_bill-pdf.cgi | |
parent | 243b248a929e99a9cc64e16f29e4a49afeb87a3c (diff) |
add a fake .pdf extension to placate some versions of IE. yay IE.
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 7aa69100d..4578b7b9c 100755 --- a/httemplate/view/cust_bill-pdf.cgi +++ b/httemplate/view/cust_bill-pdf.cgi @@ -2,7 +2,7 @@ #untaint invnum my($query) = $cgi->keywords; -$query =~ /^(\d+)$/; +$query =~ /^(\d+)(.pdf)?$/; my $invnum = $1; my $cust_bill = qsearchs('cust_bill',{'invnum'=>$invnum}); |