Skip to content

Commit b741f7f

Browse files
committed
Fix: When editing user, his role was not setting correctly.
1 parent 3d1fcd0 commit b741f7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Views/admin/users/edit.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<div class="form-group">
4545
{!! Form::label('role_id', trans('quickadmin::admin.users-edit-role'), ['class'=>'col-sm-2 control-label']) !!}
4646
<div class="col-sm-10">
47-
{!! Form::select('role_id', $roles, old('role_id', $user->role), ['class'=>'form-control']) !!}
47+
{!! Form::select('role_id', $roles, old('role_id', $user->role_id), ['class'=>'form-control']) !!}
4848
</div>
4949
</div>
5050

0 commit comments

Comments
 (0)