[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.8-172-g90e89d2
Thomas Sibley
trs at bestpractical.com
Thu Oct 14 14:49:42 EDT 2010
The branch, 3.8-trunk has been updated
via 90e89d2463651c3198981c0e32d2ec0ea1c480dc (commit)
from 0c497482a988d296d9188edb07f5e9b72efe3b0c (commit)
Summary of changes:
lib/RT/Transaction_Overlay.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 90e89d2463651c3198981c0e32d2ec0ea1c480dc
Author: Thomas Sibley <trs at bestpractical.com>
Date: Thu Oct 14 14:07:26 2010 -0400
Fix a template content type bug when relying on $PreferredContentType
If we don't default to the preferred content type, then we'll always
convert text/html parts to plain text even if we prefer text/html. This
bug was introduced by 0a79e9c674d77fb31ccf423ad793817a408d079b.
diff --git a/lib/RT/Transaction_Overlay.pm b/lib/RT/Transaction_Overlay.pm
index 2f3ed26..225ba4a 100755
--- a/lib/RT/Transaction_Overlay.pm
+++ b/lib/RT/Transaction_Overlay.pm
@@ -315,7 +315,7 @@ defaults to textual.
sub Content {
my $self = shift;
my %args = (
- Type => '',
+ Type => $PreferredContentType || '',
Quote => 0,
Wrap => 70,
@_
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list