summaryrefslogtreecommitdiffstats
path: root/extensions/SecureMail/Extension.pm
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/SecureMail/Extension.pm')
-rw-r--r--extensions/SecureMail/Extension.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/SecureMail/Extension.pm b/extensions/SecureMail/Extension.pm
index e62938dc7..d3dc023f6 100644
--- a/extensions/SecureMail/Extension.pm
+++ b/extensions/SecureMail/Extension.pm
@@ -646,6 +646,7 @@ sub _insert_subject {
my $body = $tree->look_down(qw(_tag body));
$body->unshift_content(['h1', "Subject: $subject"], ['br']);
$part->body_str_set($tree->as_HTML);
+ $tree->delete;
}
}
@@ -696,6 +697,7 @@ sub _filter_bug_links {
if ($updated) {
$part->body_str_set($tree->as_HTML);
}
+ $tree->delete;
});
}