Hi,
It seems that the code of the drupal_mail function in the 6.x-1.2 version of the module still uses the 5.x version of Drupal syntax.
I have attached a patch that fixes the problem.
Hope this helps :)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | working .module file | 5.35 KB | diseño web palma de Mallorca |
| uc_invite_discount_mail.patch | 1.82 KB | 6lv1 |
Comments
Comment #1
sivaji_ganesh_jojodae commentedFanyalla, Thanks. This module is no use without this patch.
Comment #2
benj91 commentedHi,
This patch don't works for me. Mails are not sent and coupon is not generated.
When i try to apply the patch in command line, implementation of hook_mail is rejected. I needed to apply it "manualy" in the .module file.
If that can help, when i look my logs, i can see email is not sent because recipient is not defined.
I really need this module, i hope you will get time to work on it!
Good luck!
Benjamin
Comment #3
diseño web palma de Mallorca commentedjust replace this .module file in your drupal instalation, and delete the other one.
cheers Fanyalla :)
Comment #4
abrebion commentedHi,
None of the patch seem to work. The admin get his email but not the invitor. Any idea ?
Comment #5
mattcasey commentedAh I was looking for at least an hour until I checked the issues here... the original patch worked fine for me with a manual update :)