From 7a85414444ecc36c09f88a4cec9289a9bf891ee5 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 22 Oct 2016 08:08:01 +0200 Subject: [PATCH] Fix `UserProfile::getAnchorTag()` being called in ACP --- wcfsetup/install/files/lib/data/user/UserProfile.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/data/user/UserProfile.class.php b/wcfsetup/install/files/lib/data/user/UserProfile.class.php index 7cdf6e74ae..78f5dd73d0 100644 --- a/wcfsetup/install/files/lib/data/user/UserProfile.class.php +++ b/wcfsetup/install/files/lib/data/user/UserProfile.class.php @@ -771,9 +771,7 @@ class UserProfile extends DatabaseObjectDecorator implements ITitledLinkObject { * @return string */ public function getAnchorTag() { - $link = LinkHandler::getInstance()->getLink('User', ['object' => $this->getDecoratedObject()]); - - return ''.StringUtil::encodeHTML($this->username).''; + return ''.StringUtil::encodeHTML($this->username).''; } /** -- 2.20.1