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:
9e278d0
)
Part-Manager: mit Hash-artigem Type richtig umgehen können
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 12 Jul 2013 08:04:53 +0000
(10:04 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 12 Jul 2013 11:36:47 +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
159f599
..
fccbbd9
100644
(file)
--- a/
SL/DB/Manager/Part.pm
+++ b/
SL/DB/Manager/Part.pm
@@
-35,7
+35,7
@@
sub type_filter {
# this is to make selection like type => { part => 1, service => 1 } work
if ('HASH' eq ref $type) {
- $type =
grep { $type->{$_} } keys %$type
;
+ $type =
[ grep { $type->{$_} } keys %$type ]
;
}
my @types = listify($type);