diff options
| author | ivan <ivan> | 2004-04-02 11:23:39 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2004-04-02 11:23:39 +0000 |
| commit | 708c677cc8386b523e5add656dd0bf7bb12b5d4e (patch) | |
| tree | 26e41b713978a0aba3cc70d34446a5d5ce2a8cab /httemplate/view/cust_bill-pdf.cgi | |
| parent | 4423f707d819e1d9d7c6d4136778c2af05b12b09 (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}); |
