$key = str_replace('_', '-', $key);

In mimemail.module line 531 replacing $key is not needed and also it prevents theme system to find correct template file for me like mimemail-message--this_is_my_key.tpl.php

CommentFileSizeAuthor
#1 mimemail-1877928-1.patch699 bytessgabe
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sgabe’s picture

Title: Replacing $key is not needed. » Replacing underscore in key is not needed
Status: Needs work » Fixed
FileSize
699 bytes

The attached patch has been committed. I also updated the theme() call to use the simplified syntax.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.