From 92b9791e93ad2de8ad60df75e0e342dac43b845a Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 3 Jun 2013 11:44:07 -0700 Subject: [PATCH] fix quotations vs. per-package contacts, RT#23165 --- httemplate/elements/tr-select-contact.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httemplate/elements/tr-select-contact.html b/httemplate/elements/tr-select-contact.html index d6bc67f36..e37d26d1b 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"; -- 2.11.0