You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2006/09/05 22:01:28 UTC

svn commit: r440464 - /spamassassin/trunk/lib/Mail/SpamAssassin/Message/Node.pm

Author: felicity
Date: Tue Sep  5 13:01:28 2006
New Revision: 440464

URL: http://svn.apache.org/viewvc?view=rev&rev=440464
Log:
set the default rendered type for a part to text/plain if it wasn't already set to something else

Modified:
    spamassassin/trunk/lib/Mail/SpamAssassin/Message/Node.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Message/Node.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Message/Node.pm?view=diff&rev=440464&r1=440463&r2=440464
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Message/Node.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Message/Node.pm Tue Sep  5 13:01:28 2006
@@ -430,6 +430,9 @@
   if (!exists $self->{'invisible_rendered'}) {
     $self->{'invisible_rendered'} = '';
   }
+  if (!exists $self->{'rendered_type'}) {
+    $self->{'rendered_type'} = 'text/plain';
+  }
 
   return ($self->{rendered_type}, $self->{rendered});
 }