summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-09-19 12:44:46 -0700
committerIvan Kohler <ivan@freeside.biz>2017-09-19 12:44:46 -0700
commitbf9f34d52a70261f0c074db080fd4edc4b4697ed (patch)
tree2eab92fdf944b8227bf22e1674dd24577d37d11e
parent797198aa56051b5e5cbe1935568e4ba1b39fa082 (diff)
don't send zip+4 to vitelity e911, RT#76262
-rw-r--r--FS/FS/part_export/vitelity.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/part_export/vitelity.pm b/FS/FS/part_export/vitelity.pm
index 51e134aec..66b8bf881 100644
--- a/FS/FS/part_export/vitelity.pm
+++ b/FS/FS/part_export/vitelity.pm
@@ -332,6 +332,7 @@ sub e911_send {
return '' if $self->option('disable_e911');
my %location = $svc_phone->location_hash;
+ $location{'zip'} =~ s/\-\d{4}$//;
my %e911send = (
'did' => $svc_phone->phonenum,
'address' => $location{'address1'},