[freeside-commits] freeside/FS/FS cust_pkg.pm, 1.179.2.30, 1.179.2.31

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


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

Modified Files:
      Tag: FREESIDE_2_1_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.179.2.30
retrieving revision 1.179.2.31
diff -u -w -d -r1.179.2.30 -r1.179.2.31
--- cust_pkg.pm	18 Aug 2011 01:15:45 -0000	1.179.2.30
+++ cust_pkg.pm	18 Aug 2011 21:27:49 -0000	1.179.2.31
@@ -3038,7 +3038,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