Posted by mikestefff on May 23, 2011 at 6:26pm
1 follower
| Project: | RSVP |
| Version: | 6.x-2.0 |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
I see that the mail parameters for drupal_mail() are generated via rsvp_mailer_replacements(). The way this function is used seems a bit strange to me, but that's for another issue.
I think it would be very useful to pass along the RSVP object. Otherwise, modules implementing hook_mail_alter() have no data to really work with.
Patch attached does just that.
| Attachment | Size |
|---|---|
| rsvp_add-rsvp-object-to-mail-params.patch | 490 bytes |