From: Joshua Rüsweg Date: Sat, 15 Jul 2017 20:50:24 +0000 (+0200) Subject: Fix $databaseTableIndexName for UserTrophy X-Git-Tag: 3.1.0_Alpha_1~257 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7c930597d6fcd680b6bfdcdf2841a86036a17681;p=GitHub%2FWoltLab%2FWCF.git Fix $databaseTableIndexName for UserTrophy See #2315 --- 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[]