summaryrefslogtreecommitdiff
path: root/rt/lib/RT/Test.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-08-07 22:01:31 -0700
committerIvan Kohler <ivan@freeside.biz>2015-08-07 22:01:31 -0700
commit0c76afbb717e1716e6126bc4a120b8d9471614a0 (patch)
tree9a398e455a7767372588077470685d25ef8d82b3 /rt/lib/RT/Test.pm
parent7beec7068e00be5ae1b2599fdf2b494bc19e31d0 (diff)
parent3e2c2ad8aff1bd361ca07495b2255538c8231079 (diff)
Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE_3_BRANCH
Diffstat (limited to 'rt/lib/RT/Test.pm')
-rw-r--r--rt/lib/RT/Test.pm4
1 files changed, 2 insertions, 2 deletions
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
# <sales@bestpractical.com>
#
# (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 ),
);