[freeside-commits] freeside/FS/FS Record.pm,1.226.2.8,1.226.2.9
Ivan,,,
ivan at wavetail.420.am
Fri Nov 18 14:20:39 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv20349
Modified Files:
Tag: FREESIDE_2_3_BRANCH
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.226.2.8
retrieving revision 1.226.2.9
diff -u -w -d -r1.226.2.8 -r1.226.2.9
--- Record.pm 1 Nov 2011 01:55:38 -0000 1.226.2.8
+++ Record.pm 18 Nov 2011 22:20:37 -0000 1.226.2.9
@@ -2636,7 +2636,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