X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_main%2FBilling_Realtime.pm;h=7718f7aab571c0f5426a96d829fa6f74b121d5f8;hp=09e2dfac33e93e42236364901adf9dd23360b5b9;hb=f2b43a877c70aa367595fe2fc4fcffd82f62d001;hpb=6a4b5b3bf9b3e589cf8ff18453e9c6be6a50091a diff --git a/FS/FS/cust_main/Billing_Realtime.pm b/FS/FS/cust_main/Billing_Realtime.pm index 09e2dfac3..7718f7aab 100644 --- a/FS/FS/cust_main/Billing_Realtime.pm +++ b/FS/FS/cust_main/Billing_Realtime.pm @@ -2199,7 +2199,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