Compatibility with me aliases

Created on 20 May 2011, almost 14 years ago
Updated 18 April 2024, 12 months ago

The link to edit your social sites does not appear on the user profile when using "me" aliases http://drupal.org/project/me

What happens is the menu access calback calls follow_links_user_access() with 'me' as argument instead of the uid.
Tried to fix it nicely and provide a patch, but I didn't succeed in that.
Now I did this quick temp fix, within follow_links_user_access() I did this:

	if($uid = 'me') {
		$uid = $GLOBALS['user']->uid;
	}

I'm quite sure this is not the way to do it, but it works for me.

✨ Feature request
Status

Closed: outdated

Version

1.5

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium rv0

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024