[freeside-commits] freeside/FS/FS cust_main.pm, 1.586.2.16, 1.586.2.17
Ivan,,,
ivan at wavetail.420.am
Sat Feb 11 19:18:36 PST 2012
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv15401
Modified Files:
Tag: FREESIDE_2_3_BRANCH
cust_main.pm
Log Message:
prevent automatic geocoding when batch processing censustract updates, RT#15381
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.586.2.16
retrieving revision 1.586.2.17
diff -u -w -d -r1.586.2.16 -r1.586.2.17
--- cust_main.pm 8 Feb 2012 07:09:46 -0000 1.586.2.16
+++ cust_main.pm 12 Feb 2012 03:18:34 -0000 1.586.2.17
@@ -4986,6 +4986,8 @@
# then it's a tract code
$cust_main->set('censustract', $new_tract);
$cust_main->set('censusyear', $new_year);
+
+ local($import) = 1; #prevent automatic geocoding (need its own variable?)
my $error = $cust_main->replace;
die $error if $error;
}
More information about the freeside-commits
mailing list