diff options
author | ivan <ivan> | 2008-10-29 07:50:09 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-10-29 07:50:09 +0000 |
commit | bd4151f99f8a2249977e65947cc8762ec50166e2 (patch) | |
tree | 09617fcd1fb956f4c93cafdd03685490276319d2 | |
parent | 96f9e3f0b79a98863023a1bdd29b9dc80738c1b1 (diff) |
fix to internal_diddb provisioning
-rw-r--r-- | FS/FS/part_export/internal_diddb.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_export/internal_diddb.pm b/FS/FS/part_export/internal_diddb.pm index 5e1487367..d7b5587b1 100644 --- a/FS/FS/part_export/internal_diddb.pm +++ b/FS/FS/part_export/internal_diddb.pm @@ -70,7 +70,7 @@ sub get_dids { sub _export_insert { #link phone_avail to svcnum my( $self, $svc_phone ) = (shift, shift); - $svc_phone =~ /^(\d{3})(\d{3})(\d+)$/ + $svc_phone->phonenum =~ /^(\d{3})(\d{3})(\d+)$/ or return "unparsable phone number: ". $svc_phone->phonenum; my( $npa, $nxx, $station ) = ($1, $2, $3); |