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:
89e9e5d
)
CreatePDF-Helfer: Anpassung an API-Ă„nderung SL::Template.*new
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 4 Jul 2014 11:29:20 +0000
(13:29 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 4 Jul 2014 11:29:53 +0000
(13:29 +0200)
SL/Helper/CreatePDF.pm
patch
|
blob
|
history
diff --git
a/SL/Helper/CreatePDF.pm
b/SL/Helper/CreatePDF.pm
index
555e75d
..
1baeada
100644
(file)
--- a/
SL/Helper/CreatePDF.pm
+++ b/
SL/Helper/CreatePDF.pm
@@
-47,11
+47,12
@@
sub create_pdf {
UNLINK => ($::lx_office_conf{debug} && $::lx_office_conf{debug}->{keep_temp_files})? 0 : 1,
);
- my $parser = SL::Template::LaTeX->new(
- $form->{IN},
- $form,
- \%::myconfig,
- $userspath,
+ my $parser = SL::Template::create(
+ type => 'LaTeX',
+ source => $form->{IN},
+ form => $form,
+ myconfig => \%::myconfig,
+ userspath => $userspath,
);
my $result = $parser->parse($temp_fh);