Ben Walton
2008-May-16 17:00 UTC
[sup-talk] [PATCH] exception when editting empty Cc header in edit-message-mode
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 <bdwalton at gmail.com> 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: <http://rubyforge.org/pipermail/sup-talk/attachments/20080516/26d8c10e/attachment.bin>