[freeside-commits] freeside/FS/FS Record.pm,1.235,1.236
Ivan,,,
ivan at wavetail.420.am
Fri Nov 18 14:20:36 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv20332
Modified Files:
Record.pm
Log Message:
allow two-digit zips
Index: Record.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Record.pm,v
retrieving revision 1.235
retrieving revision 1.236
diff -u -w -d -r1.235 -r1.236
--- Record.pm 1 Nov 2011 01:55:35 -0000 1.235
+++ Record.pm 18 Nov 2011 22:20:34 -0000 1.236
@@ -2468,7 +2468,7 @@
{
$self->setfield($field,'');
} else {
- $self->getfield($field) =~ /^\s*(\w[\w\-\s]{2,8}\w)\s*$/
+ $self->getfield($field) =~ /^\s*(\w[\w\-\s]{0,8}\w)\s*$/
or return gettext('illegal_zip'). " $field: ". $self->getfield($field);
$self->setfield($field,$1);
}
More information about the freeside-commits
mailing list