X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/69f4ba46d9fae7a1dbca21cb0c92d01d69ad295c..0d36a7edcadf3ef0013e96318a28d17b10772082:/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); }