style
authorIvan Kohler <ivan@freeside.biz>
Tue, 1 Nov 2016 23:20:40 +0000 (16:20 -0700)
committerIvan Kohler <ivan@freeside.biz>
Tue, 1 Nov 2016 23:20:40 +0000 (16:20 -0700)
FS/FS/cust_main/Billing_Realtime.pm

index 81b00aa..0b6b099 100644 (file)
@@ -2187,7 +2187,8 @@ sub realtime_tokenize {
                                   );
 
   my %supported_actions = $transaction->info('supported_actions');
-  return '' unless $supported_actions{'CC'} and grep(/^Tokenize$/,@{$supported_actions{'CC'}});
+  return '' unless $supported_actions{'CC'}
+                && grep /^Tokenize$/, @{$supported_actions{'CC'}};
 
   ###
   # check for banned credit card/ACH