[Rt-commit] [svn] r1006 - rt/trunk/html/Ticket/Elements
alexmv at pallas.eruditorum.org
alexmv at pallas.eruditorum.org
Fri Jun 4 17:05:51 EDT 2004
Author: alexmv
Date: Fri Jun 4 17:05:50 2004
New Revision: 1006
Modified:
rt/trunk/html/Ticket/Elements/ShowTransaction
Log:
RT-Ticket: 5626
RT-Status: close
RT-Action: correspond
* The message can only be "too large or ... not plain text" if there
was content in it originally. This fixes bug #5626, which occurred
when Text::Quoted was not installed and empty messages were used.
Modified: rt/trunk/html/Ticket/Elements/ShowTransaction
==============================================================================
--- rt/trunk/html/Ticket/Elements/ShowTransaction (original)
+++ rt/trunk/html/Ticket/Elements/ShowTransaction Fri Jun 4 17:05:50 2004
@@ -84,7 +84,7 @@
<PRE>
<& ShowMessageHeaders, Headers => $headers, Transaction => $Transaction &>
</PRE>
-% if (!length($quoted) && $message->ContentType =~ m#^text/#) {
+% if ($message->ContentLength && !length($quoted) && $message->ContentType =~ m#^text/#) {
<blockquote><i><&|/l&>Message body not shown because it is too large or is not plain text.</&><br>
<&|/l&>You can access it with the Download button on the right.</&></i></blockquote>
% } else {
More information about the Rt-commit
mailing list