]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/Form.pm
Template-Fehlermeldungen im Browser ausgeben
[kivitendo-erp.git] / SL / Form.pm
index 468f6dc275ac3a24756094cbdca12b26bfe09393..a6cb9da25ed18801cd6d266f001a6be2e24a80c9 100644 (file)
@@ -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();