Declare implicitly used property
authorAlexander Ebert <ebert@woltlab.com>
Mon, 6 Jan 2020 14:12:44 +0000 (15:12 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 6 Jan 2020 14:12:44 +0000 (15:12 +0100)
Fixes #3121

wcfsetup/install/files/lib/data/user/trophy/UserTrophyAction.class.php

index 9bce8a8b809a63b628b867c1fe5a2327f1d71591..c70937df671aaa036ecdec2921a690b0b8754c42 100644 (file)
@@ -2,6 +2,7 @@
 namespace wcf\data\user\trophy;
 use wcf\data\user\UserAction;
 use wcf\data\AbstractDatabaseObjectAction;
+use wcf\data\user\UserProfile;
 use wcf\system\cache\runtime\UserProfileRuntimeCache;
 use wcf\system\database\util\PreparedStatementConditionBuilder;
 use wcf\system\exception\IllegalLinkException;
@@ -35,6 +36,11 @@ class UserTrophyAction extends AbstractDatabaseObjectAction {
         */
        protected $allowGuestAccess = ['getGroupedUserTrophyList'];
        
+       /**
+        * @var UserProfile
+        */
+       public $userProfile;
+       
        /**
         * @inheritDoc
         */