X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-contact.html;h=4eb8a9879afbea1165b2609cf117f58c6d118c1b;hp=0bfa8934c184af0cee88e87bdd8a8da0255bf306;hb=b71b1576c68bc40ad26592b354feace37a029f0e;hpb=aeb90ade381fc3d5477db0334048c2af623fccfe 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;