From: ivan Date: Wed, 28 Sep 2011 01:34:23 +0000 (+0000) Subject: self-service API bank branch support, RT#13656 X-Git-Tag: freeside_2_3_1~266 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=3a7508e3323f211abfbacf176b66a6dc4f538d55;p=freeside.git self-service API bank branch support, RT#13656 --- diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index 74c4b3351..30fafea1b 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -547,7 +547,7 @@ sub edit_info { $p->{'payinfo1'} =~ /^([\dx]+)$/ or return { 'error' => "illegal account number ". $p->{'payinfo1'} }; my $payinfo1 = $1; - $p->{'payinfo2'} =~ /^([\dx]+)$/ + $p->{'payinfo2'} =~ /^([\dx\.]+)$/ # . turned on by -require-bank-branch? or return { 'error' => "illegal ABA/routing number ". $p->{'payinfo2'} }; my $payinfo2 = $1; $payinfo = $payinfo1. '@'. $payinfo2;