[freeside-commits] freeside/FS/FS cust_main.pm,1.212,1.213
Ivan,,,
ivan at wavetail.420.am
Tue Apr 18 23:37:36 PDT 2006
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv8062
Modified Files:
cust_main.pm
Log Message:
DOH! perlvar: not counting patterns matched in nested blocks that have been exited already.
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.212
retrieving revision 1.213
diff -u -d -r1.212 -r1.213
--- cust_main.pm 12 Apr 2006 12:36:39 -0000 1.212
+++ cust_main.pm 19 Apr 2006 06:37:34 -0000 1.213
@@ -923,6 +923,8 @@
my $self = shift;
my $old = shift;
my @param = @_;
+ warn "$me replace called\n"
+ if $DEBUG;
local $SIG{HUP} = 'IGNORE';
local $SIG{INT} = 'IGNORE';
@@ -1261,10 +1263,11 @@
$payinfo =~ s/[^\d\@]//g;
if ( $conf->exists('echeck-nonus') ) {
$payinfo =~ /^(\d+)\@(\d+)$/ or return 'invalid echeck account at aba';
+ $payinfo = "$1\@$2";
} else {
$payinfo =~ /^(\d+)\@(\d{9})$/ or return 'invalid echeck account at aba';
+ $payinfo = "$1\@$2";
}
- $payinfo = "$1\@$2";
$self->payinfo($payinfo);
$self->paycvv('') if $self->dbdef_table->column('paycvv');
More information about the freeside-commits
mailing list