summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2005-11-07 22:07:01 +0000
committerivan <ivan>2005-11-07 22:07:01 +0000
commit48767efdf16b2c9db3cc003128f82b30d10c777a (patch)
treeaae4fbad21e36a911a81bec075b39d1c1c11e13b /httemplate
parent705fca9417351f1fb86304ad95e33f61fb491587 (diff)
fix Discover card report, closes: Bug#1270
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/search/cust_pay.cgi5
1 files changed, 3 insertions, 2 deletions
diff --git a/httemplate/search/cust_pay.cgi b/httemplate/search/cust_pay.cgi
index 9b9458e63..bf3df9846 100755
--- a/httemplate/search/cust_pay.cgi
+++ b/httemplate/search/cust_pay.cgi
@@ -51,8 +51,9 @@
" ) ";
} elsif ( $3 eq 'Discover' ) {
push @search,
- " substring(cust_pay.payinfo from 1 for 4 ) = '6011' ".
- " OR substring(cust_pay.payinfo from 1 for 3 ) = '650' ";
+ " ( substring(cust_pay.payinfo from 1 for 4 ) = '6011' ".
+ " OR substring(cust_pay.payinfo from 1 for 3 ) = '650' ".
+ " ) ";
} elsif ( $3 eq 'Maestro' ) {
push @search,
" ( substring(cust_pay.payinfo from 1 for 2 ) = '63' ".