[siesta-commit] siesta/lib/Siesta/Plugin SubjectTag.pm,1.2,1.3

[prev] [thread] [next] [lurker] [Date index for 2002/08/23]

From: clampr
Subject: [siesta-commit] siesta/lib/Siesta/Plugin SubjectTag.pm,1.2,1.3
Date: 19:45 on 23 Aug 2002
Update of /cvsroot/siesta/siesta/lib/Siesta/Plugin
In directory usw-pr-cvs1:/tmp/cvs-serv30636/lib/Siesta/Plugin

Modified Files:
	SubjectTag.pm 
Log Message:
allow for null subjects

Index: SubjectTag.pm
===================================================================
RCS file: /cvsroot/siesta/siesta/lib/Siesta/Plugin/SubjectTag.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- SubjectTag.pm	23 Aug 2002 15:20:30 -0000	1.2
+++ SubjectTag.pm	23 Aug 2002 18:45:19 -0000	1.3
@@ -9,7 +9,7 @@
     my $self = shift;
     my $mail = shift;
 
-    my $subject   = $mail->subject;
+    my $subject   = $mail->subject || 'no subject';
     my $list_name = $mail->list->id;
     $mail->subject("[$list_name] $subject")
       unless $subject =~ /\[$list_name\]/;



Generated at 13:57 on 01 Jul 2004 by mariachi 0.52