X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/e0a3b19e35aed6f3f8ba84e25381a5d0e6ca61f4..8817139d57b9a916933a2b210cd2135a90d0ebef:/SL/Layout/ActionBar.pm diff --git a/SL/Layout/ActionBar.pm b/SL/Layout/ActionBar.pm index edbd44e8d..edb836553 100644 --- a/SL/Layout/ActionBar.pm +++ b/SL/Layout/ActionBar.pm @@ -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); }