fix fallout from is_tokenized optimizations preventing cards from running, RT#74657
authorIvan Kohler <ivan@freeside.biz>
Fri, 24 Feb 2017 16:29:21 +0000 (08:29 -0800)
committerIvan Kohler <ivan@freeside.biz>
Fri, 24 Feb 2017 16:29:21 +0000 (08:29 -0800)
FS/FS/cust_main.pm

index cfe93a9..8cccd18 100644 (file)
@@ -1970,7 +1970,7 @@ sub check {
 
     my $cardtype = $self->paycardtype;
     if ( $payinfo =~ /^99\d{14}$/ ) {
-      $self->('is_tokenized', 'Y'); #so we don't try to do it again
+      $self->set('is_tokenized', 'Y'); #so we don't try to do it again
       if ( $self->paymask =~ /^\d+x/ ) {
         $cardtype = cardtype($self->paymask);
       } else {