User flags always appears on user/% page

Taz - March 11, 2009 - 22:49
Project:Flag
Version:6.x-1.0-rc1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Despite un checking "Display link on user profile page" in flag settings, the flag still appears on a user profile page.
Looking briefly in the hook_user() in flag.module it does not actually seem to check for this like in hook_link() for nodes.

#1

Taz - March 11, 2009 - 22:50
Title:User flags always appare on user/% page» User flags always appears on user/% page

#2

Taz - March 12, 2009 - 01:36
Status:active» needs review
AttachmentSize
user-profile-show-399038.patch 853 bytes

#3

quicksketch - March 14, 2009 - 06:14
Status:needs review» fixed

Thanks, excellent patch! Committed.

#4

System Message - March 28, 2009 - 06:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.