fix card-types config in backend (one-off payments), RT#40125, RT#39861
authorIvan Kohler <ivan@freeside.biz>
Fri, 29 Jan 2016 22:39:23 +0000 (14:39 -0800)
committerIvan Kohler <ivan@freeside.biz>
Fri, 29 Jan 2016 22:39:23 +0000 (14:39 -0800)
httemplate/misc/process/payment.cgi

index 01f7dee..51fb050 100644 (file)
@@ -140,7 +140,7 @@ if ( $payby eq 'CHEK' ) {
   validate($payinfo)
     or errorpage(gettext('invalid_card'));
 
-  unless ( $self->payinfo =~ /^99\d{14}$/ ) { #token
+  unless ( $payinfo =~ /^99\d{14}$/ ) { #token
 
     my $cardtype = cardtype($payinfo);