]> git.cworth.org Git - sup/commitdiff
sig_lines bugfix thanks to ian taylor
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Thu, 23 Aug 2007 17:31:26 +0000 (17:31 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Thu, 23 Aug 2007 17:31:26 +0000 (17:31 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@543 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/modes/edit-message-mode.rb

index 3dc6717f0a90fc7f045a0ca9de412d5b3be53f5e..5f7e712c05a4fcd8a87ac780fc0bebd9b9c72060 100644 (file)
@@ -289,7 +289,7 @@ private
   end
 
   def sig_lines
-    p = PersonManager.person_for @header["From"]
+    p = PersonManager.person_for(@header["From"]) or return []
     sigfn = (AccountManager.account_for(p.email) || 
              AccountManager.default_account).signature