[Rt-commit] r2296 - in rt/branches/3.4-RELEASE: . lib/RT

jesse at bestpractical.com jesse at bestpractical.com
Sun Mar 6 17:32:06 EST 2005


Author: jesse
Date: Sun Mar  6 17:32:05 2005
New Revision: 2296

Modified:
   rt/branches/3.4-RELEASE/   (props changed)
   rt/branches/3.4-RELEASE/lib/RT/Attachment_Overlay.pm
Log:
 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/3.4-RELEASE/lib/RT/Attachment_Overlay.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/Attachment_Overlay.pm	(original)
+++ rt/branches/3.4-RELEASE/lib/RT/Attachment_Overlay.pm	Sun Mar  6 17:32:05 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