diff options
Diffstat (limited to 'FS/FS/svc_phone.pm')
-rw-r--r-- | FS/FS/svc_phone.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FS/FS/svc_phone.pm b/FS/FS/svc_phone.pm index 90ba24945..7622e9887 100644 --- a/FS/FS/svc_phone.pm +++ b/FS/FS/svc_phone.pm @@ -162,6 +162,10 @@ and replace methods. sub check { my $self = shift; + my $phonenum = $self->phonenum; + $phonenum =~ s/\D//g; + $self->phonenum($phonenum); + my $error = $self->ut_numbern('svcnum') || $self->ut_numbern('countrycode') |