[Rt-commit] r7117 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Fri Mar 2 14:35:05 EST 2007
Author: ruz
Date: Fri Mar 2 14:35:04 2007
New Revision: 7117
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/lib/RT/Attachment_Overlay.pm
Log:
r4638 at cubic-pc: cubic | 2007-03-02 05:18:07 +0300
* a message with parts is not always a top level message, MIME allows you to use
arbitrary nesting
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Attachment_Overlay.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Attachment_Overlay.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Attachment_Overlay.pm Fri Mar 2 14:35:04 2007
@@ -174,8 +174,7 @@
unless ( defined $Attachment->bodyhandle ) {
my ($id) = $self->SUPER::Create(
TransactionId => $args{'TransactionId'},
- # XXX: possible bug, we force parent here, that's bad
- Parent => 0,
+ Parent => $args{'Parent'},
ContentType => $Attachment->mime_type,
Headers => $Attachment->head->as_string,
MessageId => $MessageId,
More information about the Rt-commit
mailing list