summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-contact.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-06-03 11:44:08 -0700
committerIvan Kohler <ivan@freeside.biz>2013-06-03 11:44:08 -0700
commit1e7c040c58601fb8d2a25647c13b3fb06fb00b19 (patch)
treea9818c5c48485a6fa2bc53f69877df974d323f42 /httemplate/elements/tr-select-contact.html
parent9c659edbaa1789b28b3da47779bbf17508bea9c5 (diff)
fix quotations vs. per-package contacts, RT#23165
Diffstat (limited to 'httemplate/elements/tr-select-contact.html')
-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 d6bc67f..e37d26d 100644
--- a/httemplate/elements/tr-select-contact.html
+++ b/httemplate/elements/tr-select-contact.html
@@ -138,7 +138,7 @@ if ( $cgi->param('error') ) {
if ( length($opt{'curr_value'}) ) {
$contactnum = $opt{'curr_value'};
} elsif ($prospect_main) {
- my @cust_contact = $prospect_main->cust_contact;
+ my @cust_contact = $prospect_main->contact;
$contactnum = $cust_contact[0]->contactnum if scalar(@cust_contact)==1;
} else { #$cust_main
$cgi->param('contactnum') =~ /^(\-?\d*)$/ or die "illegal contactnum";