projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4d655d
)
Wenn das Parsen eines Templates fehlschlägt, dann die dazugehörige Fehlermeldung...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 6 Sep 2007 10:38:58 +0000
(10:38 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 6 Sep 2007 10:38:58 +0000
(10:38 +0000)
SL/Form.pm
patch
|
blob
|
history
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
b32fbd2
..
196d828
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-591,7
+591,9
@@
sub parse_html_template2 {
map { $additional_params->{$_} ||= $self->{$_} } keys %{ $self };
my $output;
- $template->process($file, $additional_params, \$output);
+ if (!$template->process($file, $additional_params, \$output)) {
+ print STDERR $template->error();
+ }
$output = $main::locale->{iconv}->convert($output) if ($main::locale);