[freeside-commits] branch master updated. a180208786cccb72ab017e39fff0cb128aa6ba01
Mark Wells
mark at 420.am
Thu Nov 7 13:32:42 PST 2013
The branch, master has been updated
via a180208786cccb72ab017e39fff0cb128aa6ba01 (commit)
from 21eed35279c21d1195505107a011d5481382a7ea (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a180208786cccb72ab017e39fff0cb128aa6ba01
Author: Mark Wells <mark at freeside.biz>
Date: Thu Nov 7 13:32:37 2013 -0800
censustract upgrade should skip prospect locations, #25660
diff --git a/FS/FS/cust_main/Location.pm b/FS/FS/cust_main/Location.pm
index 6b707b1..52fe313 100644
--- a/FS/FS/cust_main/Location.pm
+++ b/FS/FS/cust_main/Location.pm
@@ -301,6 +301,7 @@ sub _upgrade_data {
qsearch('cust_location', { 'censustract' => '' })
) {
my $custnum = $cust_location->custnum;
+ next if !$custnum; # avoid doing this for prospect locations
my $address1 = $cust_location->address1;
# find the last history record that had that address
my $last_h = qsearchs({
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_main/Location.pm | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
More information about the freeside-commits
mailing list