From 31f3763747b82764bb019cfab5b2a2945fc9a99d Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Fri, 12 Jun 2015 15:19:00 -0700 Subject: rt 4.0.23 --- rt/lib/RT/Test.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rt/lib/RT/Test.pm') diff --git a/rt/lib/RT/Test.pm b/rt/lib/RT/Test.pm index 104e93a63..8b227a781 100644 --- a/rt/lib/RT/Test.pm +++ b/rt/lib/RT/Test.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -830,7 +830,7 @@ sub create_ticket { $args{'MIMEObj'} = MIME::Entity->build( From => Encode::encode( "UTF-8", $args{'Requestor'} ), Subject => RT::Interface::Email::EncodeToMIME( String => $args{'Subject'} ), - Type => "text/plain", + Type => $args{ContentType} // "text/plain", Charset => "UTF-8", Data => Encode::encode( "UTF-8", $content ), ); -- cgit v1.2.1