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:
461b3ca
)
ActionBar: SL::Layout::get: bei nicht existierendem Sub-Layout leere Liste zurückgeben
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 28 Feb 2017 11:40:14 +0000
(12:40 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 28 Feb 2017 11:40:14 +0000
(12:40 +0100)
SL/Layout/Base.pm
patch
|
blob
|
history
diff --git
a/SL/Layout/Base.pm
b/SL/Layout/Base.pm
index
ba2db60
..
df9c008
100644
(file)
--- a/
SL/Layout/Base.pm
+++ b/
SL/Layout/Base.pm
@@
-38,7
+38,7
@@
sub init_sublayouts_by_name {
sub get {
$_[0]->sub_layouts;
- $_[0]->sub_layouts_by_name->{$_[1]}
+ return grep { $_ } ($_[0]->sub_layouts_by_name->{$_[1]});
}
sub init_auto_reload_resources_param {