Fix type of `$user` property after assigning trophy to user
authorMatthias Schmidt <gravatronics@live.com>
Mon, 3 Jun 2019 17:35:28 +0000 (19:35 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 3 Jun 2019 17:35:28 +0000 (19:35 +0200)
wcfsetup/install/files/lib/acp/form/UserTrophyAddForm.class.php

index 85c405779bb36753e0bf7a40182815af7940b7cc..4bd169916fed602c78148b6c20527bff13a54fb7 100644 (file)
@@ -184,7 +184,8 @@ class UserTrophyAddForm extends AbstractAcpForm {
        public function reset() {
                parent::reset();
                
-               $this->user = $this->userIDs = [];
+               $this->user = '';
+               $this->userIDs = [];
                $this->trophyID = '';
                $this->useCustomDescription = 0;
        }