X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/84ad2fe899cefcac5ac2a86af373bad5aa7d4058..80d5f1702f74398422c8afadd6f2a7f8921a7c94:/SL/DB/Manager/Part.pm 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) {