From a513c0bef534d05f03c1242831b6f3be19b97dae Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 17 Oct 2006 08:51:01 +0000 Subject: import rt 3.4.5 --- rt/lib/RT/I18N.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rt/lib/RT/I18N.pm') diff --git a/rt/lib/RT/I18N.pm b/rt/lib/RT/I18N.pm index affff981b..e45faf3af 100644 --- a/rt/lib/RT/I18N.pm +++ b/rt/lib/RT/I18N.pm @@ -223,7 +223,7 @@ sub SetMIMEEntityToEncoding { # {{{ Convert the body eval { - $RT::Logger->debug("Converting '$charset' to '$enc' for ". $head->mime_type . " - ". $head->get('subject')); + $RT::Logger->debug("Converting '$charset' to '$enc' for ". $head->mime_type . " - ". ($head->get('subject') || 'Subjectless message')); # NOTE:: see the comments at the end of the sub. Encode::_utf8_off( $lines[$_] ) foreach ( 0 .. $#lines ); -- cgit v1.2.1