Fixed user edit form
authorAlexander Ebert <ebert@woltlab.com>
Mon, 1 Jul 2013 12:04:28 +0000 (14:04 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 1 Jul 2013 12:04:28 +0000 (14:04 +0200)
wcfsetup/install/files/lib/acp/form/UserEditForm.class.php

index 02dc118124180c5d0a42735f55c139fd6733c900..eb4160295da3365e680c352cadcf6effce037f09 100755 (executable)
@@ -138,12 +138,12 @@ class UserEditForm extends UserAddForm {
                        $this->readDefaultValues();
                }
                
+               parent::readData();
+               
                // get avatar object
                if ($this->avatarType == 'custom') {
                        $this->userAvatar = new UserAvatar($this->user->avatarID);
                }
-               
-               parent::readData();
        }
        
        /**