diff options
author | ivan <ivan> | 2008-03-24 03:08:00 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-03-24 03:08:00 +0000 |
commit | 6ad0603afe8119536b21f65f06c3ff13f243170f (patch) | |
tree | 6aff820e9567f426df651296624231f519c8c55d /rt/lib/RT/Record.pm | |
parent | bce1161205c0f249865482972475a7e7b3f590e6 (diff) |
woo! final part of #1160! yup, auto-associating tickets with customers now. whew!
Diffstat (limited to 'rt/lib/RT/Record.pm')
-rwxr-xr-x | rt/lib/RT/Record.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rt/lib/RT/Record.pm b/rt/lib/RT/Record.pm index f7100c5f2..b32ef5553 100755 --- a/rt/lib/RT/Record.pm +++ b/rt/lib/RT/Record.pm @@ -74,6 +74,7 @@ our @ISA; use base qw(RT::Base); use RT::Date; +use RT::I18N; use RT::User; use RT::Attributes; use DBIx::SearchBuilder::Record::Cachable; @@ -862,6 +863,7 @@ sub _DecodeLOB { elsif ( $ContentEncoding && $ContentEncoding ne 'none' ) { return ( $self->loc( "Unknown ContentEncoding [_1]", $ContentEncoding ) ); } + if ( RT::I18N::IsTextualContentType($ContentType) ) { $Content = Encode::decode_utf8($Content) unless Encode::is_utf8($Content); } |