projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
globalPOPs provisioning
[freeside.git]
/
FS
/
FS
/
svc_phone.pm
diff --git
a/FS/FS/svc_phone.pm
b/FS/FS/svc_phone.pm
index
90ba249
..
7622e98
100644
(file)
--- 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')