From: Moritz Bunkus Date: Mon, 3 Aug 2020 11:33:51 +0000 (+0200) Subject: Kosmetik: Einrückung X-Git-Tag: release-3.5.6.1~84 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=115b92fcab786104b08b05cfe5119a5cc2b5aa4f;p=kivitendo-erp.git Kosmetik: Einrückung --- diff --git a/SL/Helper/MassPrintCreatePDF.pm b/SL/Helper/MassPrintCreatePDF.pm index b00950c6c..6cfd4ba4b 100644 --- a/SL/Helper/MassPrintCreatePDF.pm +++ b/SL/Helper/MassPrintCreatePDF.pm @@ -25,8 +25,8 @@ sub create_massprint_pdf { my ($self, %params) = @_; my $form = Form->new(''); my %create_params = ( - variables => $form, - return => 'file_name', + variables => $form, + return => 'file_name', ); ## find_template may return a list ! $create_params{template} = $self->find_template(name => $params{variables}->{formname}, printer_id => $params{printer_id}); diff --git a/SL/Template/LaTeX.pm b/SL/Template/LaTeX.pm index 422a2932b..4915c86a0 100644 --- a/SL/Template/LaTeX.pm +++ b/SL/Template/LaTeX.pm @@ -408,10 +408,10 @@ sub _embed_file_directive { push @options, sprintf('%s={%s}', $name, $value); # TODO: escaping }; - $add_opt->('ucfilespec', $embed_name); - $add_opt->('desc', $file->{description}); - $add_opt->('afrelationship', $file->{relationship}); - $add_opt->('mimetype', $file->{mime_type}); + $add_opt->('ucfilespec', $embed_name); + $add_opt->('desc', $file->{description}); + $add_opt->('afrelationship', $file->{relationship}); + $add_opt->('mimetype', $file->{mime_type}); return sprintf('\embedfile[%s]{%s}', join(',', @options), $file_name); }