Merge pull request #4073 from MrPetovan/bug/4070-fix-user-create

Fix User::create return variable
This commit is contained in:
Michael Vogel 2017-12-16 04:11:54 +01:00 committed by GitHub
commit dc7bff0235
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -407,8 +407,8 @@ class User
call_hooks('register_account', $uid);
$result['user'] = $user;
return $result;
$return['user'] = $user;
return $return;
}
/**