diff options
author | Mark Wells <mark@freeside.biz> | 2012-05-31 13:02:12 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2012-05-31 13:02:12 -0700 |
commit | dda70549e974d4b559f9d5a117948b931813c7d1 (patch) | |
tree | d501b26fa6c56ef33f312411eae7e711310de992 /FS/FS/prospect_main.pm | |
parent | 4daa22e234bec170832b893cc8d038e9d2aca6ea (diff) |
fix location selection for prospects, #940
Diffstat (limited to 'FS/FS/prospect_main.pm')
-rw-r--r-- | FS/FS/prospect_main.pm | 3 |
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 |