X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FReportGenerator.pm;h=a62f0e46a89ef477eb5f13a6eb1387cce450623f;hb=df1c2f63837b9e70ac17e9dfe7687c2b299ca43c;hp=36a81f35b869dc8e2dd9801cea3d87b437618dc5;hpb=40e0911a4ec0bbae2036839e0d9a954ea5c76d07;p=kivitendo-erp.git diff --git a/SL/ReportGenerator.pm b/SL/ReportGenerator.pm index 36a81f35b..a62f0e46a 100644 --- a/SL/ReportGenerator.pm +++ b/SL/ReportGenerator.pm @@ -447,6 +447,9 @@ sub setup_action_bar { sub generate_html_content { my ($self, %params) = @_; + + $params{action_bar} //= 1; + my $variables = $self->prepare_html_content(%params); $self->setup_action_bar($params{action_bar}, $variables) if $params{action_bar};