Skip to content

Commit

Permalink
Merge pull request #4073 from MrPetovan/bug/4070-fix-user-create
Browse files Browse the repository at this point in the history
Fix User::create return variable
  • Loading branch information
annando committed Dec 16, 2017
2 parents f415ee6 + d500d06 commit dc7bff0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Model/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,8 @@ public static function create(array $data)

call_hooks('register_account', $uid);

$result['user'] = $user;
return $result;
$return['user'] = $user;
return $return;
}

/**
Expand Down

0 comments on commit dc7bff0

Please sign in to comment.