summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-04-17 09:41:30 -0700
committerIvan Kohler <ivan@freeside.biz>2013-04-17 09:41:30 -0700
commitde2d2fc7243b193e037e971c096a5030d71ff0c6 (patch)
treedc236c3abefc4d87ee92aefc8edbbd8b23ac1138 /httemplate/elements
parent458154df5fb1ebf983458007e266da130b706ef7 (diff)
fix fallout from #22185 (#22601, #22600)
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/tr-select-contact.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/tr-select-contact.html b/httemplate/elements/tr-select-contact.html
index 579117808..d6bc67f36 100644
--- a/httemplate/elements/tr-select-contact.html
+++ b/httemplate/elements/tr-select-contact.html
@@ -162,7 +162,7 @@ if ( $contactnum && $contactnum > 0 ) {
if ( $contactnum == -1 ) {
$contact->$_( $cgi->param($_) ) foreach @contact_fields; #XXX
} elsif ( $cust_pkg && $cust_pkg->contactnum ) {
- my $pkg_contact = $cust_pkg->contact;
+ my $pkg_contact = $cust_pkg->contact_obj;
$contact->$_( $pkg_contact->$_ ) foreach @contact_fields; #XXX why are we making a new one gagain??
$opt{'empty_label'} ||= 'package contact: '.$pkg_contact->line;
} elsif ( $cust_main ) {