diff options
author | ivan <ivan> | 2011-08-18 21:27:47 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-08-18 21:27:47 +0000 |
commit | fef193f602ffa3ce056c4f3a13699138cdccf300 (patch) | |
tree | e471c35ebf7a42f07de61d4d72007dd468b93d1a /FS | |
parent | 2f8745267b13bd027109e12e64b3e37fa50edb9d (diff) |
fix 477 reporting w/multiple classnums, RT#13922
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_pkg.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index 468e0ebc6..44c103f7e 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -3044,7 +3044,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 { |