summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2001-08-17 11:33:17 +0000
committerivan <ivan>2001-08-17 11:33:17 +0000
commitab2a71970ac434c3bf628af426d23d9b992fd816 (patch)
tree7a7757cd2e9c0a15057569a916663612e4bc112f
parent898aa3474d66a76b84cc9508f96618d2be1a27ed (diff)
ut_phonen: fallback to ut_textn, instead of ut_alphan for non-US/CA phone numbers
-rw-r--r--FS/FS/Record.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm
index 11255f4b0..cf902e6a1 100644
--- a/FS/FS/Record.pm
+++ b/FS/FS/Record.pm
@@ -739,7 +739,7 @@ sub ut_phonen {
$self->setfield($field,$phonen);
} else {
warn "don't know how to check phone numbers for country $country";
- return $self->ut_alphan($field);
+ return $self->ut_textn($field);
}
'';
}
@@ -949,7 +949,7 @@ sub DESTROY { return; }
=head1 VERSION
-$Id: Record.pm,v 1.22 2001-08-17 11:28:03 ivan Exp $
+$Id: Record.pm,v 1.23 2001-08-17 11:33:17 ivan Exp $
=head1 BUGS