summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_main.cgi
diff options
context:
space:
mode:
authorivan <ivan>2011-08-02 20:17:00 +0000
committerivan <ivan>2011-08-02 20:17:00 +0000
commit6578195643791d5cc809155485144649e6cfe307 (patch)
treea86950f684e2b8df0c7219d69968bb0f45db960b /httemplate/search/cust_main.cgi
parent3cc574188759d0df1ede6b92c2929b06b30c105e (diff)
isracard support in self-service and backend payment processing, RT#13894
Diffstat (limited to 'httemplate/search/cust_main.cgi')
-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'}),