[freeside-commits] freeside/FS/FS cust_pkg.pm,1.204.2.6,1.204.2.7

Ivan,,, ivan at wavetail.420.am
Thu Aug 18 14:27:54 PDT 2011


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

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	cust_pkg.pm 
Log Message:
fix 477 reporting w/multiple classnums, RT#13922

Index: cust_pkg.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pkg.pm,v
retrieving revision 1.204.2.6
retrieving revision 1.204.2.7
diff -u -w -d -r1.204.2.6 -r1.204.2.7
--- cust_pkg.pm	18 Aug 2011 01:15:49 -0000	1.204.2.6
+++ cust_pkg.pm	18 Aug 2011 21:27:52 -0000	1.204.2.7
@@ -3044,7 +3044,10 @@
   ###
   # parse censustract2
   ###
-  if ( exists($params->{'censustract2'}) =~ /^(\d*)$/ ) {
+  if ( exists($params->{'censustract2'})
+       && $params->{'censustract2'} =~ /^(\d*)$/
+     )
+  {
     if ($1) {
       push @where, "cust_main.censustract LIKE '$1%'";
     } else {



More information about the freeside-commits mailing list