I noticed that the link in the email to change account settings is not getting set to the recipient's id.

This code:

$output .= '<p>' . t('If you don\'t wish to receive such e-mails, you can <a h
ref="%url">change your account settings</a>.', array('%url' => url('user/$accoun
t->uid', NULL, NULL, TRUE))) . '</p>';

is producing this error:

page not found: user/$account->uid not found

Comments

nedjo’s picture

Thanks, fixed.

droopy’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

ax’s picture

Anonymous’s picture

lennart’s picture

Version: » 4.6.x-1.x-dev
Status: Fixed » Active

I just downloaded and installed the 4.6.3 version and the bad account settings link is still there. See:

Sent by Lennart Kiil from forsker.net. <---- This is right, fine!

If you don't wish to receive such e-mails, you can change your account settings
. <---- So the account settings link still go to user 1 when it should go to the user recieving the e-mail (in this case user 14)

Kind Regards,
Lennart Kiil

lennart’s picture

It removed my example, but the point is that the change my account settings link always point to user/1 no matter that the e-mail is sent to some other user.

Kind Regards,
Lennart

zerolab’s picture

Issue summary: View changes
Status: Active » Closed (outdated)