summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;