X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/08388ac8eaff0dbecfe5aded36e8cf297466cd57..ec409dd12d7099de2dfd8854a1716cf044bdb25c:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index 468f6dc27..a6cb9da25 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -848,9 +848,7 @@ sub parse_html_template { map { $additional_params->{$_} ||= $self->{$_} } keys %{ $self }; my $output; - if (!$template->process($file, $additional_params, \$output)) { - print STDERR $template->error(); - } + $template->process($file, $additional_params, \$output) || die $template->error(); $main::lxdebug->leave_sub();