projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84ad2fe
)
Part-Manager: leere Strings im Typenfilter ignorieren
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 12 Jul 2013 08:08:35 +0000
(10:08 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 12 Jul 2013 11:36:49 +0000
(13:36 +0200)
SL/DB/Manager/Part.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Manager/Part.pm
b/SL/DB/Manager/Part.pm
index
fccbbd9
..
d286924
100644
(file)
--- 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) {