I have the Tell A Friend module up and running and working properly... with one issue. The e-mails go through, but the from name and e-mail address are missing from the sent e-mails.
I've gone over the code a few times and I'm at a loss. Any suggestions?
Comments
Comment #1
ekrispin commentedThe problem seems to be in line 330
According to a short debugging I ran, tellafriend_fromaddress seems to be set (though no value entered in the tellafriend admin panel) and therefore isset in variable_get does not take the default value $form_values['tellafriend_email'] (which does have the appropriate value).
The same happens also with $closing.
I bypassed it until a patch is issued.
Comment #2
ekrispin commentedI subsituted the above mentioned line with
and it works fine now.
Comment #3
wmostrey commentedThat is indeed how I fixed it too. Since both fields are required, that seems like a safe solution.
+1
Comment #4
thierry_gd commentedJust committed this on drupal.org
Comment #5
thierry_gd commentedComment #6
(not verified) commented