Index: htmlmail.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/htmlmail/htmlmail.module,v
retrieving revision 1.9.2.5
diff -u -p -r1.9.2.5 htmlmail.module
--- htmlmail.module 8 Jan 2009 06:39:18 -0000 1.9.2.5
+++ htmlmail.module 9 Jun 2009 17:29:47 -0000
@@ -17,9 +17,7 @@ function htmlmail_help($path, $arg) {
}
function htmlmail_mail_alter(&$message) {
- $message['headers'] = array(
- 'Content-Type' => 'text/html; charset=UTF-8;',
- );
+ $message['headers']['Content-Type'] = 'text/html; charset=UTF-8;';
// as of d6 body may be array
$message['body'] = is_array($message['body']) ? implode("\n\n", $message['body']) : $message['body'];