diff options
Diffstat (limited to 'FS')
| -rw-r--r-- | FS/FS/cust_pkg.pm | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index 4e57fbf2d..e7f84845f 100644 --- 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"; | 
