[Rt-commit] r7323 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Thu Mar 22 21:38:31 EDT 2007


Author: ruz
Date: Thu Mar 22 21:38:28 2007
New Revision: 7323

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/lib/RT/Action/SendEmail.pm

Log:
 r4775 at cubic-pc:  cubic | 2007-03-21 16:10:56 +0300
 * add a XXX note


Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Action/SendEmail.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Action/SendEmail.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Action/SendEmail.pm	Thu Mar 22 21:38:28 2007
@@ -300,6 +300,8 @@
     # We want to make sure that we don't include the attachment that's
     # being sued as the "Content" of this message"
     my $transaction_content_obj = $self->TransactionObj->ContentObj;
+    # XXX: this is legacy check of content type looks quite incorrect
+    # to me //ruz
     if ( $transaction_content_obj && $transaction_content_obj->id
          && $transaction_content_obj->ContentType =~ m{text/plain}i )
     {


More information about the Rt-commit mailing list