Closed vihuna closed 1 year ago
It seems there is a mistake in URL GET parameter for contact links:
user_id -> recipient_user_id in user and user_profile templates.
user_id
recipient_user_id
user
user_profile
Without the id from a message, the $recipient_email must be taken from recipient_user_id GET parameter, as far as I understand.
id
$recipient_email
user_id is the session user id. (its value is taken from $_SESSION), i.e., the sender and not the recipient user.
Yes, there seems to be an error. The user_id is the wrong parameter and the mail is not sent.
Works for me!
It seems there is a mistake in URL GET parameter for contact links:
user_id
->recipient_user_id
inuser
anduser_profile
templates.Without the
id
from a message, the$recipient_email
must be taken fromrecipient_user_id
GET parameter, as far as I understand.user_id
is the session user id. (its value is taken from $_SESSION), i.e., the sender and not the recipient user.