ActionBar: nicht »continue«, sondern »next« für Short-Circuit einer Schleife
[kivitendo-erp.git] / SL / Layout / ActionBar.pm
index fa86d16..3279ba8 100644 (file)
@@ -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}'");