X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-contact.html;h=e37d26d1b0ffac826a03d332b35dcb4df06aeae1;hb=afe30fc7315196cc4ae6da7606995cb8388d1a32;hp=d6bc67f3616788c89e170629299b6bc904cb70ea;hpb=06f92269d9fe378cfa2f00c958404a6e8df642ff;p=freeside.git 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";