diff options
author | ivan <ivan> | 2011-08-02 20:17:00 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-08-02 20:17:00 +0000 |
commit | 6578195643791d5cc809155485144649e6cfe307 (patch) | |
tree | a86950f684e2b8df0c7219d69968bb0f45db960b /httemplate/search/cust_main.cgi | |
parent | 3cc574188759d0df1ede6b92c2929b06b30c105e (diff) |
isracard support in self-service and backend payment processing, RT#13894
Diffstat (limited to 'httemplate/search/cust_main.cgi')
-rwxr-xr-x | httemplate/search/cust_main.cgi | 2 |
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'}), |