From 115b92fcab786104b08b05cfe5119a5cc2b5aa4f Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 3 Aug 2020 13:33:51 +0200 Subject: [PATCH] =?utf8?q?Kosmetik:=20Einr=C3=BCckung?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Helper/MassPrintCreatePDF.pm | 4 ++-- SL/Template/LaTeX.pm | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) 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); } -- 2.20.1