diff --git a/app/Http/Controllers/Users/UsersController.php b/app/Http/Controllers/Users/UsersController.php index 76503c3735..0e938e42b3 100755 --- a/app/Http/Controllers/Users/UsersController.php +++ b/app/Http/Controllers/Users/UsersController.php @@ -256,9 +256,7 @@ class UsersController extends Controller // Only save groups if the user is a super user if (Auth::user()->isSuperUser()) { - if ($request->filled('groups')) { - $user->groups()->sync($request->input('groups')); - } + $user->groups()->sync($request->input('groups')); }