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

jesse at bestpractical.com jesse at bestpractical.com
Fri Sep 23 15:39:36 EDT 2005


Author: jesse
Date: Fri Sep 23 15:39:36 2005
New Revision: 3881

Modified:
   rt/branches/3.4-RELEASE/   (props changed)
   rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
Log:
 r15970 at hualien:  jesse | 2005-09-23 15:37:43 -0400
 * Our algorithm for finding a fallback for transaction content wasn't trying hard enough. reported by John Gedeon.


Modified: rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm	(original)
+++ rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm	Fri Sep 23 15:39:36 2005
@@ -365,7 +365,7 @@
         # which has some content.
 
         else {
-            my $all_parts = $Attachment->Children();
+            my $all_parts = $self->Attachments;
             while ( my $part = $all_parts->Next ) {
                 if (( $part->ContentType() =~ '^(text/plain$|message/)' ) &&  $part->Content()  ) {
                     return ($part);


More information about the Rt-commit mailing list