projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix 477 reporting w/multiple classnums, RT#13922
[freeside.git]
/
FS
/
FS
/
cust_pkg.pm
diff --git
a/FS/FS/cust_pkg.pm
b/FS/FS/cust_pkg.pm
index
468e0eb
..
44c103f
100644
(file)
--- 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 {