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:
4baae19
)
ActionBar: nicht »continue«, sondern »next« für Short-Circuit einer Schleife
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 17 Mar 2017 10:41:49 +0000
(11:41 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 17 Mar 2017 10:52:08 +0000
(11:52 +0100)
SL/Layout/ActionBar.pm
patch
|
blob
|
history
diff --git
a/SL/Layout/ActionBar.pm
b/SL/Layout/ActionBar.pm
index
fa86d16
..
3279ba8
100644
(file)
--- a/
SL/Layout/ActionBar.pm
+++ b/
SL/Layout/ActionBar.pm
@@
-59,7
+59,7
@@
sub parse_actions {
while (my $type = shift(@actions)) {
if (blessed($type) && $type->isa('SL::Layout::ActionBar::Action')) {
push @parsed, $type;
-
continue
;
+
next
;
}
my $descriptor = $class_descriptors{lc $type} || croak("Unknown action type '${type}'");