From 553e304b45d3f8467c43754ad2e15d01758ac1fe Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 4 Feb 2015 20:19:03 -0800 Subject: [PATCH] fix contact seletor, fallout from #27943 changes --- 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 0bfa8934c..4eb8a9879 100644 --- a/httemplate/elements/tr-select-contact.html +++ b/httemplate/elements/tr-select-contact.html @@ -139,7 +139,7 @@ if ( $cgi->param('error') ) { $contactnum = $opt{'curr_value'}; } elsif ($prospect_main) { my @prospect_contact = $prospect_main->prospect_contact; - $contactnum = $prospect_contact[0]->contactnum if scalar(@cust_contact)==1; + $contactnum = $prospect_contact[0]->contactnum if scalar(@prospect_contact)==1; } else { #$cust_main $cgi->param('contactnum') =~ /^(\-?\d*)$/ or die "illegal contactnum"; $contactnum = $1; -- 2.11.0