Merge pull request #4073 from MrPetovan/bug/4070-fix-user-create
Fix User::create return variable
This commit is contained in:
commit
dc7bff0235
1 changed files with 2 additions and 2 deletions
|
@ -407,8 +407,8 @@ class User
|
||||||
|
|
||||||
call_hooks('register_account', $uid);
|
call_hooks('register_account', $uid);
|
||||||
|
|
||||||
$result['user'] = $user;
|
$return['user'] = $user;
|
||||||
return $result;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue