summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-01-10 16:37:02 -0800
committerIvan Kohler <ivan@freeside.biz>2018-01-10 16:37:02 -0800
commitd33ff2da7cb349a12d98d4560dab3e68a4c8f5dc (patch)
tree804bd51f3e9773490a57deb06476c2bd09e206e1
parent12a92604de8428e1d3b1be20e2bda2bd31bd5aeb (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 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;
}