X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FTest.pm;h=8b227a781b481c959c9385e718888e205465c8c8;hb=2c09925cad2ade037e6ae953e4ed6fc056811f2f;hp=104e93a63f742e1c5cd35ea41b9f2f3ac2d5ef2a;hpb=45ac1a8f1af9c7d63d296497a305b82f07eccab6;p=freeside.git 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 ), );