[Rt-commit] r2031 - in rt/branches/3.2-RELEASE: . lib/RT

jesse at bestpractical.com jesse at bestpractical.com
Wed Dec 29 14:44:55 EST 2004


Author: jesse
Date: Wed Dec 29 14:44:54 2004
New Revision: 2031

Modified:
   rt/branches/3.2-RELEASE/   (props changed)
   rt/branches/3.2-RELEASE/lib/RT/Attachment_Overlay.pm
Log:
 r2514 at hualien:  jesse | 2004-12-29T19:43:06.856350Z
 Updated Attachment import code to take database-specific lob encoding into account
 
 


Modified: rt/branches/3.2-RELEASE/lib/RT/Attachment_Overlay.pm
==============================================================================
--- rt/branches/3.2-RELEASE/lib/RT/Attachment_Overlay.pm	(original)
+++ rt/branches/3.2-RELEASE/lib/RT/Attachment_Overlay.pm	Wed Dec 29 14:44:54 2004
@@ -220,7 +220,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