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: TestNumber 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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | webform_subject_theme.patch | 667 bytes | quicksketch |
Comments
Comment #1
quicksketchYou'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.
Comment #2
quicksketchPatch has been committed. Please let me know if this has not corrected the problem.
Comment #3
izkreny commentedHi 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:
..but this could be material for another issue...
Comment #4
quicksketchYou 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.
Comment #5
izkreny commentedYes indeed, with drush 4.x there was no problem at all! :)
Tnx for the tip, bye!