Closed (fixed)
Project:
me aliases
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 May 2011 at 08:24 UTC
Updated:
13 Jun 2011 at 09:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
nohup commentedFollow uses
as a menu item. Instead if that code is changed to
it fixes the issue. Use of %user will make 'me' module recognize it as a candidate menu for change and will make drupal pass a user object instead of the uid to the follow_links_form function. This change does not break anything, even if the me module is disabled. The attached patch does these changes to the follow module.
Comment #2
rv0 commentedThanks for the patch.
As far as I can see, there's one thing you forgot, in the user_access function, the object is now passed instead of the uid, so every call to $uid should become $uid->uid
I'm rerolling the patch next and I will post it in the Follow.module's issue I made before.
Setting this to fixed.
For reference, here's the code:
Thanks again.