summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-02-04 20:19:03 -0800
committerIvan Kohler <ivan@freeside.biz>2015-02-04 20:19:03 -0800
commit553e304b45d3f8467c43754ad2e15d01758ac1fe (patch)
tree18cab89b1e16aff467011beb5d7b5de73ad723c8
parent9a68154cc0885d05815f5d7e4ab4a64e65a8d45b (diff)
fix contact seletor, fallout from #27943 changes
-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 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;