[Rt-commit] rt branch, 3.8.9-releng, updated. rt-3.8.8-246-g9f9e70a
Kevin Falcone
falcone at bestpractical.com
Wed Dec 29 15:18:51 EST 2010
The branch, 3.8.9-releng has been updated
via 9f9e70a2d3a75d4cb58faa66f6991a76a641f3e7 (commit)
from 6e223eaa3fe997597c6ff5ade920c8c15abb2a46 (commit)
Summary of changes:
lib/RT/Transaction_Overlay.pm | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 9f9e70a2d3a75d4cb58faa66f6991a76a641f3e7
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri Dec 24 15:22:17 2010 +0800
main_content maybe empty
(cherry picked from commit e153c4c79001cfa00ae4d1287acb8384731a34ff)
Fixes bug reported in 16259
We can't backport tests from e9e17611cb7d024eaf6a362783899de48583cd4a
on 4.0-trunk without significant other changes
diff --git a/lib/RT/Transaction_Overlay.pm b/lib/RT/Transaction_Overlay.pm
index dd08a61..41eb9ea 100755
--- a/lib/RT/Transaction_Overlay.pm
+++ b/lib/RT/Transaction_Overlay.pm
@@ -557,6 +557,8 @@ sub ContentAsMIME {
my $self = shift;
my $main_content = $self->ContentObj;
+ return unless $main_content;
+
my $entity = $main_content->ContentAsMIME;
if ( $main_content->Parent ) {
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list