projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT21463: Option to show disabled package definitions [refactored to use ajax]
[freeside.git]
/
httemplate
/
elements
/
tr-select-contact.html
diff --git
a/httemplate/elements/tr-select-contact.html
b/httemplate/elements/tr-select-contact.html
index
0bfa893
..
4eb8a98
100644
(file)
--- 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 = $opt{'curr_value'};
} elsif ($prospect_main) {
my @prospect_contact = $prospect_main->prospect_contact;
- $contactnum = $prospect_contact[0]->contactnum if scalar(@
cus
t_contact)==1;
+ $contactnum = $prospect_contact[0]->contactnum if scalar(@
prospec
t_contact)==1;
} else { #$cust_main
$cgi->param('contactnum') =~ /^(\-?\d*)$/ or die "illegal contactnum";
$contactnum = $1;
} else { #$cust_main
$cgi->param('contactnum') =~ /^(\-?\d*)$/ or die "illegal contactnum";
$contactnum = $1;