Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bestpractical/rt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Vincent <jesse@bestpractical.com>2002-01-11 13:20:42 +0300
committerJesse Vincent <jesse@bestpractical.com>2002-01-11 13:20:42 +0300
commit0ac725e01e75808c6115db28a765c11311ca608c (patch)
tree3dca81ff1afa6a706fddcac11dd3c19925213067
parent41ce2b1f6354f1b4bea81c26188ec7917ab20dc7 (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-xMakefile2
-rwxr-xr-xlib/RT/Transaction.pm3
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 85d38aa15a..5f42d6a45a 100755
--- a/Makefile
+++ b/Makefile
@@ -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;
}