From 7c930597d6fcd680b6bfdcdf2841a86036a17681 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Sat, 15 Jul 2017 22:50:24 +0200 Subject: [PATCH] Fix $databaseTableIndexName for UserTrophy See #2315 --- .../files/lib/data/user/trophy/UserTrophy.class.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/user/trophy/UserTrophy.class.php b/wcfsetup/install/files/lib/data/user/trophy/UserTrophy.class.php index 0213f56250..1bb469996f 100644 --- a/wcfsetup/install/files/lib/data/user/trophy/UserTrophy.class.php +++ b/wcfsetup/install/files/lib/data/user/trophy/UserTrophy.class.php @@ -25,9 +25,14 @@ use wcf\util\StringUtil; * @property-read integer $userID user id * @property-read integer $time the time when the trophy was rewarded * @property-read string $description the custom trophy description - * @property-read string $useCustomDescription `1`, iif the trophy use a custom description + * @property-read string $useCustomDescription `1`, if the trophy use a custom description */ class UserTrophy extends DatabaseObject { + /** + * @inheritDoc + */ + protected static $databaseTableIndexName = 'userTrophyID'; + /** * The description text replacements. * @var string[] -- 2.20.1