summaryrefslogtreecommitdiff
path: root/FS/FS/prospect_main.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-05-31 13:02:12 -0700
committerMark Wells <mark@freeside.biz>2012-05-31 13:02:12 -0700
commitdda70549e974d4b559f9d5a117948b931813c7d1 (patch)
treed501b26fa6c56ef33f312411eae7e711310de992 /FS/FS/prospect_main.pm
parent4daa22e234bec170832b893cc8d038e9d2aca6ea (diff)
fix location selection for prospects, #940
Diffstat (limited to 'FS/FS/prospect_main.pm')
-rw-r--r--FS/FS/prospect_main.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/prospect_main.pm b/FS/FS/prospect_main.pm
index 5a4048f..6adc852 100644
--- a/FS/FS/prospect_main.pm
+++ b/FS/FS/prospect_main.pm
@@ -244,7 +244,8 @@ Returns the locations (see L<FS::cust_location>) associated with this prospect.
sub cust_location {
my $self = shift;
- qsearch( 'cust_location', { 'prospectnum' => $self->prospectnum } );
+ qsearch( 'cust_location', { 'prospectnum' => $self->prospectnum,
+ 'custnum' => '' } );
}
=item qual