From: Moritz Bunkus Date: Thu, 18 Feb 2010 10:42:33 +0000 (+0100) Subject: Template-Fehlermeldungen im Browser ausgeben X-Git-Tag: release-2.6.2beta1~276 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ec409dd12d7099de2dfd8854a1716cf044bdb25c;p=kivitendo-erp.git Template-Fehlermeldungen im Browser ausgeben --- 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();