Fix the icon name of the test trophy
authorAlexander Ebert <ebert@woltlab.com>
Mon, 2 Oct 2023 12:28:11 +0000 (14:28 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 2 Oct 2023 12:28:11 +0000 (14:28 +0200)
See https://www.woltlab.com/community/thread/301854-an-error-has-occurred-expected-a-string-containing-an-icon-name-and-a-boolean-st/

wcfsetup/install/files/lib/system/user/notification/event/UserTrophyReceivedNotificationEvent.class.php

index 771e7a0123786d18259a53cd072ac7f12bdb5529..19da5691a81e42159b4d519b8f13db3293d09ee0 100644 (file)
@@ -89,7 +89,7 @@ class UserTrophyReceivedNotificationEvent extends AbstractUserNotificationEvent
                 'type' => Trophy::TYPE_BADGE,
                 'isDisabled' => 0,
                 'awardAutomatically' => 0,
-                'iconName' => 'trophy',
+                'iconName' => 'trophy;false',
                 'iconColor' => 'rgba(255, 255, 255, 1)',
                 'badgeColor' => 'rgba(50, 92, 132, 1)',
             ],