]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Layout/ActionBar.pm
ActionBar: nicht »continue«, sondern »next« für Short-Circuit einer Schleife
[mfinanz.git] / SL / Layout / ActionBar.pm
index fa86d16ace8fb36f69591d3485cc8121a22334ef..3279ba8dcb19aa6bd25b5a320229d13d9eba893c 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}'");