[freeside-commits] freeside/FS/FS cust_main.pm,1.603,1.604

Ivan,,, ivan at wavetail.420.am
Sat Feb 11 19:18:34 PST 2012


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv15385

Modified Files:
	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.603
retrieving revision 1.604
diff -u -w -d -r1.603 -r1.604
--- cust_main.pm	8 Feb 2012 07:09:44 -0000	1.603
+++ cust_main.pm	12 Feb 2012 03:18:32 -0000	1.604
@@ -5036,6 +5036,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