From: Udo Spallek Date: Wed, 9 May 2007 07:49:54 +0000 (+0000) Subject: USTVA: Korrektur zum attachment_filename: Winston export Filename wurde ueberschrieben X-Git-Tag: release-2.4.3^2~356 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=68c57596aac2769f2c7f09f84c444b7462adb164;p=kivitendo-erp.git USTVA: Korrektur zum attachment_filename: Winston export Filename wurde ueberschrieben Betrifft commit: Revision: 2326 Author: sschoeling Date: 2007-05-03 13:06:46 +0200 (Thu, 03 May 2007) --- diff --git a/SL/Form.pm b/SL/Form.pm index e3ff9cc06..f29c67166 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -862,7 +862,9 @@ sub parse_template { open(OUT, $self->{OUT}) or $self->error($self->cleanup . "$self->{OUT} : $!"); } else { - $self->{attachment_filename} = $self->generate_attachment_filename(); + $self->{attachment_filename} = ($self->{attachment_filename}) + ? $self->{attachment_filename} + : $self->generate_attachment_filename(); # launch application print qq|Content-Type: | . $template->get_mime_type() . qq|