projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9183ef7
)
fix fix multiple pkgpart search (need sanity check): don't let empty set limit search
author
jeff
<jeff>
Thu, 13 Aug 2009 15:13:49 +0000
(15:13 +0000)
committer
jeff
<jeff>
Thu, 13 Aug 2009 15:13:49 +0000
(15:13 +0000)
FS/FS/cust_pkg.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pkg.pm
b/FS/FS/cust_pkg.pm
index
4e57fbf
..
e7f8484
100644
(file)
--- a/
FS/FS/cust_pkg.pm
+++ b/
FS/FS/cust_pkg.pm
@@
-2476,7
+2476,7
@@
sub search_sql {
@pkgpart = grep /^(\d+)$/, @pkgpart;
- push @where, 'pkgpart IN ('. join(',', @pkgpart). ')';
+ push @where, 'pkgpart IN ('. join(',', @pkgpart). ')'
if scalar(@pkgpart)
;
} elsif ( $params->{'pkgpart'} =~ /^(\d+)$/ ) {
push @where, "pkgpart = $1";