Improve event name for getReplacements
authorJoshua Rüsweg <josh@bastelstu.be>
Sun, 9 Jul 2017 14:15:42 +0000 (16:15 +0200)
committerJoshua Rüsweg <josh@bastelstu.be>
Sun, 9 Jul 2017 14:15:42 +0000 (16:15 +0200)
See #2315

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

index 7bd6bb488efbeea48fb57a6796f251e229748e12..0213f562500c4967e1fbef8cfce8b75b67855b3b 100644 (file)
@@ -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'];
                }