summaryrefslogtreecommitdiff
path: root/FS/FS/svc_phone.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-01-10 16:37:13 -0800
committerIvan Kohler <ivan@freeside.biz>2018-01-10 16:37:13 -0800
commitf8f2ef5ae14c08397b1af8986a1cf5831c453e21 (patch)
tree58371465911307c309ac5b4e4e6181394743bd77 /FS/FS/svc_phone.pm
parent86efecebb509fcabea1f46bdbb15ab9287afc574 (diff)
extend vitelity integration: start and complete port-in, RT#73618, RT#78929
Diffstat (limited to 'FS/FS/svc_phone.pm')
-rw-r--r--FS/FS/svc_phone.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/svc_phone.pm b/FS/FS/svc_phone.pm
index c2250c1..637c148 100644
--- a/FS/FS/svc_phone.pm
+++ b/FS/FS/svc_phone.pm
@@ -813,7 +813,7 @@ sub phone_name_or_cust {
}
my $cust_pkg = $self->cust_svc->cust_pkg or return '';
if ( $cust_pkg->contactnum ) {
- return $cust_pkg->contact->firstlast;
+ return $cust_pkg->contact_obj->firstlast;
} else {
return $cust_pkg->cust_main->name_short;
}