From 8b647d5563b947f59652a66b31488c52a22156e2 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 18 Aug 2011 21:27:49 +0000 Subject: fix 477 reporting w/multiple classnums, RT#13922 --- FS/FS/cust_pkg.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'FS') diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index 3b58a47d3..fd715a8f4 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -3038,7 +3038,10 @@ sub search { ### # parse censustract2 ### - if ( exists($params->{'censustract2'}) =~ /^(\d*)$/ ) { + if ( exists($params->{'censustract2'}) + && $params->{'censustract2'} =~ /^(\d*)$/ + ) + { if ($1) { push @where, "cust_main.censustract LIKE '$1%'"; } else { -- cgit v1.2.1