fix misnamed variable, close #377

This commit is contained in:
Dane Everitt 2017-04-13 22:30:32 -04:00
parent e9ef78d163
commit 9320c26b86
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class UserController extends Controller
{ {
try { try {
$repo = new UserRepository; $repo = new UserRepository;
$user = $repo->update($user, $request->intersect([ $user = $repo->update($id, $request->intersect([
'email', 'password', 'name_first', 'email', 'password', 'name_first',
'name_last', 'username', 'root_admin', 'name_last', 'username', 'root_admin',
])); ]));