X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/49c7621e7bd48352be257e6ceea0e6fbb1718516..e1cb00366d40cc3a1b07e065b51ad39c84baf7e6:/SL/Mailer.pm?ds=inline diff --git a/SL/Mailer.pm b/SL/Mailer.pm index 5e280128b..2e2a60cec 100644 --- a/SL/Mailer.pm +++ b/SL/Mailer.pm @@ -184,7 +184,7 @@ $self->{message} my $application = ($attachment =~ /(^\w+$)|\.(html|text|txt|sql)$/) ? "text" : "application"; my $content_type = SL::MIME->mime_type_from_ext($filename); - $content_type = "${application}/${self->{format}}" if (!$content_type && $self->{format}); + $content_type = "${application}/$self->{format}" if (!$content_type && $self->{format}); $content_type ||= 'application/octet-stream'; open(IN, $attachment);