Hi,

this problem is alive again (or still?). :(

It was first reported two years ago @ #327807: Double Subject, To, etc. fields when using theme_webform_mail_headers.

I detected this bug only for Subject and in Mutt E-Mail Client.
In Microsoft Office Outlook 2007 everything is A-OK.

If you just add in template.php file (inside YourTheme_webform_mail_header function) this line: $headers['Subject'] = 'Test';, the resulting e-mail (header) will have:

Subject: 1
subject: Test

Number one is cID of hidden field which I'm using for subject (another strange anomaly?).

This is really minor + JFTR, because better approach is definitely using method described @ http://drupal.org/node/823408

CommentFileSizeAuthor
#1 webform_subject_theme.patch667 bytesquicksketch

Comments

quicksketch’s picture

Status: Active » Needs review
StatusFileSize
new667 bytes

You're 100% correct. I'm rather shocked this is still a problem also, because I swear we fixed this once before. This patch should correct the problem.

quicksketch’s picture

Status: Needs review » Fixed

Patch has been committed. Please let me know if this has not corrected the problem.

izkreny’s picture

Hi Nathan,

sorry for the delay, and thanks for your quick response! :)

After applying provided patch there is no more doubling of the subject.

JFYI, I tried also to update module with Drush-3.4-dev and got this error:

% drush up webform-6.x-3.x-dev
File webform-6.x-3.x-dev.tar.gz is corrupt (wrong md5 checksum).
...

..but this could be material for another issue...

quicksketch’s picture

You may need to upgrade drush. My guess is that drush 3.x isn't compatible with the new archiving on drupal.org, but yeah the archiving on d.o isn't really something I can handle anyway.

izkreny’s picture

Yes indeed, with drush 4.x there was no problem at all! :)

Tnx for the tip, bye!

Status: Fixed » Closed (fixed)

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