summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-01-10 16:37:05 -0800
committerIvan Kohler <ivan@freeside.biz>2018-01-10 16:37:05 -0800
commitcf66b5b46f5af76dbb6f6fe20b1d3fecc7c88ca2 (patch)
tree08a191fcf35dfc848f21e345a1beeee2140deaf4
parent5e664f9135bb01824f6a55482ca3c62c063df60e (diff)
extend vitelity integration: start and complete port-in, RT#73618, RT#78929
-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 ccc28a0df..7caf63c7a 100644
--- a/FS/FS/svc_phone.pm
+++ b/FS/FS/svc_phone.pm
@@ -801,7 +801,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;
}