From 0227327eac292799f909b6006cca5124b2f6fd51 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Sun, 9 Jul 2017 16:15:42 +0200 Subject: [PATCH] Improve event name for getReplacements See #2315 --- .../install/files/lib/data/user/trophy/UserTrophy.class.php | 2 +- 1 file changed, 1 insertion(+), 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 7bd6bb488e..0213f56250 100644 --- a/wcfsetup/install/files/lib/data/user/trophy/UserTrophy.class.php +++ b/wcfsetup/install/files/lib/data/user/trophy/UserTrophy.class.php @@ -108,7 +108,7 @@ class UserTrophy extends DatabaseObject { $parameters = ['replacements' => $replacements]; - EventHandler::getInstance()->fireAction($this, 'getDescription', $parameters); + EventHandler::getInstance()->fireAction($this, 'getReplacements', $parameters); $this->replacements = $parameters['replacements']; } -- 2.20.1