From: ivan Date: Tue, 23 Jan 2007 07:44:57 +0000 (+0000) Subject: even have 4 digit zips in there eek X-Git-Tag: freeside_1_7_2~1^2~93 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=fefc10acccd2b17d398296fea27d5ae65832c4da;p=freeside.git even have 4 digit zips in there eek --- diff --git a/FS/FS/cust_pay_batch.pm b/FS/FS/cust_pay_batch.pm index 6e261c6ab..f800a181a 100644 --- a/FS/FS/cust_pay_batch.pm +++ b/FS/FS/cust_pay_batch.pm @@ -175,7 +175,7 @@ sub check { } #we have lots of old zips in there... don't hork up batch results cause of em - $self->zip =~ /^\s*(\w[\w\-\s]{3,8}\w)\s*$/ + $self->zip =~ /^\s*(\w[\w\-\s]{2,8}\w)\s*$/ or return "Illegal zip: ". $self->zip; $self->zip($1);