From: Joshua Rüsweg Date: Sun, 9 Jul 2017 14:15:42 +0000 (+0200) Subject: Improve event name for getReplacements X-Git-Tag: 3.1.0_Alpha_1~288 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0227327eac292799f909b6006cca5124b2f6fd51;p=GitHub%2FWoltLab%2FWCF.git Improve event name for getReplacements 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 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']; }