[freeside-commits] freeside/FS/FS cust_pkg.pm,1.137,1.138
Jeff Finucane,420,,
jeff at wavetail.420.am
Thu Aug 13 08:13:51 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv27747
Modified Files:
cust_pkg.pm
Log Message:
fix fix multiple pkgpart search (need sanity check): don't let empty set limit search
Index: cust_pkg.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pkg.pm,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -d -r1.137 -r1.138
--- cust_pkg.pm 12 Aug 2009 02:36:25 -0000 1.137
+++ cust_pkg.pm 13 Aug 2009 15:13:49 -0000 1.138
@@ -2476,7 +2476,7 @@
@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";
More information about the freeside-commits
mailing list