From: Moritz Bunkus Date: Fri, 17 Mar 2017 10:41:49 +0000 (+0100) Subject: ActionBar: nicht »continue«, sondern »next« für Short-Circuit einer Schleife X-Git-Tag: release-3.5.4~1207 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b459f8fedcdf0f7589862d11ca7b2fbaf2dfc91e;p=kivitendo-erp.git ActionBar: nicht »continue«, sondern »next« für Short-Circuit einer Schleife --- diff --git a/SL/Layout/ActionBar.pm b/SL/Layout/ActionBar.pm index fa86d16ac..3279ba8dc 100644 --- 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}'");