X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FTemplate%2FLaTeX.pm;h=6eb331d605b63c2b01ecc11d8d12ce00dbfe457f;hb=c4ce237aaab9c25c41334c30852d2ea640730efe;hp=23e2ed0aeaa1456dfe4334fb6741fe33c6256960;hpb=a4c6c83d27a9613e0fec95159988d16cdbe2782d;p=kivitendo-erp.git diff --git a/SL/Template/LaTeX.pm b/SL/Template/LaTeX.pm index 23e2ed0ae..6eb331d60 100644 --- a/SL/Template/LaTeX.pm +++ b/SL/Template/LaTeX.pm @@ -589,7 +589,7 @@ sub parse_and_create_pdf { my $error; eval { - my $template = SL::Template::LaTeX->new($template_file_name, $local_form, \%::myconfig, $::lx_office_conf{paths}->{userspath}); + my $template = SL::Template::LaTeX->new(file_name => $template_file_name, form => $local_form); my $result = $template->parse($tex_fh) && $template->convert_to_pdf; die $template->{error} unless $result;