Only link to the account profile page if the user is allowed to view the profile of that user.
let's try again
Confirmed the link is not added if the user viewing content does not have access to view user account pages. Nice fix :)
Drupal is a registered trademark of Dries Buytaert.