diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-03-14 03:00:42 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-03-14 03:00:42 -0700 |
commit | 7c2e9c37a5b57e1d58868613660602da20a0d9de (patch) | |
tree | 6b873aab927c177a1264995c3668420fd2d0993b | |
parent | e098d4ae82e1f4787e783e71d2a0b1e5f4cd6282 (diff) |
fix upgrades from very old 2.3? RT#21543
-rw-r--r-- | FS/FS/cust_main.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 68c2bd771..3e5d4c137 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -5139,6 +5139,8 @@ sub _upgrade_data { #class method local($skip_fuzzyfiles) = 1; local($import) = 1; #prevent automatic geocoding (need its own variable?) + FS::cust_main::Location->_upgrade_data(%opts); + unless ( FS::upgrade_journal->is_done('cust_main__trimspaces') ) { foreach my $cust_main ( qsearch({ @@ -5160,8 +5162,6 @@ sub _upgrade_data { #class method $class->_upgrade_otaker(%opts); - FS::cust_main::Location->_upgrade_data(%opts); - } =back |