From ec409dd12d7099de2dfd8854a1716cf044bdb25c Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 18 Feb 2010 11:42:33 +0100 Subject: [PATCH] Template-Fehlermeldungen im Browser ausgeben --- SL/Form.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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(); -- 2.20.1