Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
If your hook_menu() defines an entry:
$item['user/%/mytab'] = array( ... )
...then the string 'me' is passed as the argument, not the user's UID.
Comments
Comment #1
AndrewJarvis CreditAttribution: AndrewJarvis commentedI am having this issue as well. As an Administrator viewing another users profile, the edit link has "me" instead of the user id. Manually replacing the url with the user's ID still works though, so it is only a problem with the printing of the edit tab itself on the User page.
Drupal 7
Using Profiles2