X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/566608b739ced48d1ca22dfa85a4ab4590e67c75..d6431367735d2113ed7ca96dc7b425ee02bd5af3:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index a575ea6f1..e0791c469 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -868,10 +868,10 @@ sub parse_template { open(OUT, $self->{OUT}) or $self->error($self->cleanup . "$self->{OUT} : $!"); } else { - + $self->{attachment_filename} = $self->{tmpfile} if ($self->{attachment_filename} eq ''); # launch application print qq|Content-Type: | . $template->get_mime_type() . qq| -Content-Disposition: attachment; filename="$self->{tmpfile}" +Content-Disposition: attachment; filename="$self->{attachment_filename}" Content-Length: $numbytes |;