[Rt-commit] r2449 - in rt/branches/PLATANO-EXPERIMENTAL-CSS: . lib/RT

jesse at bestpractical.com jesse at bestpractical.com
Mon Mar 14 03:03:00 EST 2005


Author: jesse
Date: Mon Mar 14 03:02:59 2005
New Revision: 2449

Modified:
   rt/branches/PLATANO-EXPERIMENTAL-CSS/   (props changed)
   rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/Attachment_Overlay.pm
Log:
 r8609 at hualien:  jesse | 2005-03-14 02:43:03 -0500
  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-CSS/lib/RT/Attachment_Overlay.pm
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/Attachment_Overlay.pm	(original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/Attachment_Overlay.pm	Mon Mar 14 03:02: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