fix misnamed variable, close #377
This commit is contained in:
parent
e9ef78d163
commit
9320c26b86
|
@ -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',
|
||||||
]));
|
]));
|
||||||
|
|
Loading…
Reference in New Issue