From: Moritz Bunkus Date: Fri, 12 Jul 2013 08:08:35 +0000 (+0200) Subject: Part-Manager: leere Strings im Typenfilter ignorieren X-Git-Tag: release-3.1.0beta1~175^2~4 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=80d5f1702f74398422c8afadd6f2a7f8921a7c94;p=kivitendo-erp.git Part-Manager: leere Strings im Typenfilter ignorieren --- diff --git a/SL/DB/Manager/Part.pm b/SL/DB/Manager/Part.pm index fccbbd95b..d286924d9 100644 --- a/SL/DB/Manager/Part.pm +++ b/SL/DB/Manager/Part.pm @@ -38,7 +38,7 @@ sub type_filter { $type = [ grep { $type->{$_} } keys %$type ]; } - my @types = listify($type); + my @types = grep { $_ } listify($type); my @filter; for my $type (@types) {