From mboxrd@z Thu Jan 1 00:00:00 1970 From: bdwalton@gmail.com (Ben Walton) Date: Fri, 16 May 2008 13:00:27 -0400 Subject: [sup-talk] [PATCH] exception when editting empty Cc header in edit-message-mode Message-ID: Hi All, I bumped into this today and crafted the following small patch (against the current head of next) to handle it. If you press 'c' to edit a Cc header (would happen on To or Bcc also), an exception is generated if the field is currently empty. Array.join is called on nil. The attached patch just sets the header value to an empty array before the call to join happens. -Ben -- --------------------------------------------------------------------------------------------------------------------------- Ben Walton When one person suffers from a delusion, it is called insanity. When many people suffer from a delusion it is called Religion. Robert M. Pirsig, Zen and the Art of Motorcycle Maintenance --------------------------------------------------------------------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: 0003-fix-exception-when-editting-an-empty-MULTI_HEADER.patch Type: text/x-diff Size: 986 bytes Desc: not available URL: