Closed (fixed)
Project:
Buddylist
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2006 at 04:02 UTC
Updated:
8 Jan 2007 at 18:31 UTC
Hi,
I just installed Drupal 4.7.4 tonight, and the latest 4.7 release of the buddylist module. I discovered that I am unable to send custom emails to users when I add them.
To reproduce:
1) Go to admin/settings/buddylist
2) Edit the subject and body of of the "Added Buddy Email".
3) Check the box "send add messages"
4) Save the changes.
5) Now, add a buddy to your buddylist.
The email that they get HAS the changed subject, but does NOT have the changed body. Instead they get the default body.
Any suggestions?
Thanks,
-- Doug
Comments
Comment #1
bensheldon commentedOn line 987 modify:
$message = variable_get('buddylist_add_message', buddylist_mail_add_default());
to
$message = variable_get('buddylist_add_text', buddylist_mail_add_default());
the variable should be "_text" not "_message";
Can do the same on line 991 for the Delete message.
Comment #2
fagothe failure was in all 4 message types. thanks for reporting.
fixed in 4.7 and 5.0
Comment #3
(not verified) commented