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.

CommentFileSizeAuthor
#2 user-profile-show-399038.patch853 bytesTaz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Taz’s picture

Title: User flags always appare on user/% page » User flags always appears on user/% page
Taz’s picture

Status: Active » Needs review
FileSize
853 bytes
quicksketch’s picture

Status: Needs review » Fixed

Thanks, excellent patch! Committed.

Status: Fixed » Closed (fixed)

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