From a0a29e6d425938bdeaaaf7787ad3aee970b59a46 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 11 Sep 2009 08:46:47 +0200 Subject: [PATCH] =?utf8?q?Fix=20f=C3=BCr=20falsche=20Syntax=20bei=20in=20S?= =?utf8?q?trings=20eingebetteten=20Variablen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Mailer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1