From ab2a71970ac434c3bf628af426d23d9b992fd816 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 17 Aug 2001 11:33:17 +0000 Subject: [PATCH] ut_phonen: fallback to ut_textn, instead of ut_alphan for non-US/CA phone numbers --- FS/FS/Record.pm | 4 ++-- 1 file 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 -- 2.11.0