Fix User::create return variable

This commit is contained in:
Hypolite Petovan 2017-12-15 20:47:10 -05:00
parent afbfbde112
commit d500d06a06

View File

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