From 0926917d50508b6be25f4977cc4c0fef07301bab Mon Sep 17 00:00:00 2001
From: Matthias Schmidt <gravatronics@live.com>
Date: Sun, 5 Jul 2020 17:19:41 +0200
Subject: [PATCH] Remove TODO and fix code style issue

---
 wcfsetup/install/files/lib/data/media/MediaAction.class.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/wcfsetup/install/files/lib/data/media/MediaAction.class.php b/wcfsetup/install/files/lib/data/media/MediaAction.class.php
index eeb2633305..2f45ca518d 100644
--- a/wcfsetup/install/files/lib/data/media/MediaAction.class.php
+++ b/wcfsetup/install/files/lib/data/media/MediaAction.class.php
@@ -188,9 +188,8 @@ class MediaAction extends AbstractDatabaseObjectAction implements ISearchAction,
 				'id' => $media->userID,
 				'title' => $media->username
 			]) : '',
-			// TODO: find better solution
 			'userLinkElement' => $media instanceof ViewableMedia ? WCF::getTPL()->fetchString(
-				WCF::getTPL()->getCompiler()->compileString('userLink','{user object=$userProfile}')['template'],
+				WCF::getTPL()->getCompiler()->compileString('userLink', '{user object=$userProfile}')['template'],
 				['userProfile' => $media->getUserProfile()]
 			) : '',
 			'username' => $media->username,
-- 
2.20.1