projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ActionBar: nicht »continue«, sondern »next« für Short-Circuit einer Schleife
[kivitendo-erp.git]
/
SL
/
Layout
/
ActionBar.pm
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}'");