diff options
author | Jesse Vincent <jesse@bestpractical.com> | 2002-01-11 13:20:42 +0300 |
---|---|---|
committer | Jesse Vincent <jesse@bestpractical.com> | 2002-01-11 13:20:42 +0300 |
commit | 0ac725e01e75808c6115db28a765c11311ca608c (patch) | |
tree | 3dca81ff1afa6a706fddcac11dd3c19925213067 | |
parent | 41ce2b1f6354f1b4bea81c26188ec7917ab20dc7 (diff) |
RT-Ticket: 950rt-2.0.12.pre3
Aoolyed the recommended patch to make blank bodies not get
mailed in lieu of the real message
-rwxr-xr-x | Makefile | 2 | ||||
-rwxr-xr-x | lib/RT/Transaction.pm | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -6,7 +6,7 @@ PERL = /usr/bin/perl RT_VERSION_MAJOR = 2 RT_VERSION_MINOR = 0 -RT_VERSION_PATCH = 12-pre2 +RT_VERSION_PATCH = 12-pre3 RT_VERSION = $(RT_VERSION_MAJOR).$(RT_VERSION_MINOR).$(RT_VERSION_PATCH) diff --git a/lib/RT/Transaction.pm b/lib/RT/Transaction.pm index 8fd4281f77..7d6e5da6a2 100755 --- a/lib/RT/Transaction.pm +++ b/lib/RT/Transaction.pm @@ -287,7 +287,8 @@ sub Content { $plain_parts->ContentType(VALUE => 'text/plain'); # If we actully found a part, return its content - if ($plain_parts->First) { + if ($plain_parts->First && + $plain_parts->First->Content ne '') { $content = $plain_parts->First->Content; } |