]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Layout/ActionBar.pm
Actionbar nicht ohne content rendern
[mfinanz.git] / SL / Layout / ActionBar.pm
index edbd44e8db0e16f9f7d6dcb4e52a34e742bf7e86..edb836553efa19973e1a21cf5077749c4ca422c4 100644 (file)
@@ -18,6 +18,7 @@ sub pre_content {
   my ($self) = @_;
 
   my $content = join '', map { $_->render } @{ $self->actions };
+  return if !$content;
   $::request->presenter->html_tag('div', $content, class => HTML_CLASS);
 }