[Rt-commit] r2393 - in rt/branches/PLATANO-EXPERIMENTAL: . lib/RT
jesse at bestpractical.com
jesse at bestpractical.com
Mon Mar 14 02:35:00 EST 2005
Author: jesse
Date: Mon Mar 14 02:34:59 2005
New Revision: 2393
Modified:
rt/branches/PLATANO-EXPERIMENTAL/ (props changed)
rt/branches/PLATANO-EXPERIMENTAL/lib/RT/Attachment_Overlay.pm
Log:
r8497 at hualien: jesse | 2005-03-14 02:28:17 -0500
r6452 at hualien: jesse | 2005-03-06 14:53:41 -0500
r2514 at hualien: jesse | 2004-12-29 14:43:06 -0500
Updated Attachment import code to take database-specific lob encoding into account
Modified: rt/branches/PLATANO-EXPERIMENTAL/lib/RT/Attachment_Overlay.pm
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL/lib/RT/Attachment_Overlay.pm (original)
+++ rt/branches/PLATANO-EXPERIMENTAL/lib/RT/Attachment_Overlay.pm Mon Mar 14 02:34:59 2005
@@ -226,7 +226,11 @@
my %args = ( ContentEncoding => 'none',
@_ );
- return($self->SUPER::Create(@_));
+
+
+ ($args{'ContentEncoding'}, $args{'Content'}) = $self->_EncodeLOB($args{'Content'}, $args{'MimeType'});
+
+ return($self->SUPER::Create(%args));
}
# {{{ sub Content
More information about the Rt-commit
mailing list