summaryrefslogtreecommitdiff
path: root/httemplate/search
diff options
context:
space:
mode:
authorivan <ivan>2011-08-02 20:17:02 +0000
committerivan <ivan>2011-08-02 20:17:02 +0000
commitf1ae4cb3c4c970037869d54c7fb2f00a180a2cd1 (patch)
tree8c442140a2a486b25f2eb3792d53c7537443017a /httemplate/search
parent9db0b83bc215fae61e1da7a95a70642b395492e0 (diff)
isracard support in self-service and backend payment processing, RT#13894
Diffstat (limited to 'httemplate/search')
-rwxr-xr-xhttemplate/search/cust_main.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/cust_main.cgi b/httemplate/search/cust_main.cgi
index 6ebc55bb1..5c1fb4100 100755
--- a/httemplate/search/cust_main.cgi
+++ b/httemplate/search/cust_main.cgi
@@ -555,7 +555,7 @@ sub cardsearch {
my($card)=$cgi->param('card');
$card =~ s/\D//g;
- $card =~ /^(\d{13,16})$/ or errorpage(emt("Illegal card number"));
+ $card =~ /^(\d{13,16}|\d{8,9})$/ or errorpage(emt("Illegal card number"));
my($payinfo)=$1;
[ qsearch('cust_main',{'payinfo'=>$payinfo, 'payby'=>'CARD'}),