From b4b6d6b57111c24d89426b76a61a37a9ce1a8774 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 15 Jul 2019 15:31:09 -0700 Subject: [PATCH] Comment clarification on #7186 --- app/Http/Controllers/Api/UsersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/UsersController.php b/app/Http/Controllers/Api/UsersController.php index 55d8ea0b31..34f0e14eb2 100644 --- a/app/Http/Controllers/Api/UsersController.php +++ b/app/Http/Controllers/Api/UsersController.php @@ -269,7 +269,7 @@ class UsersController extends Controller // Check if the request has groups passed and has a value if ($request->filled('groups')) { $user->groups()->sync($request->input('groups')); - // The groups value has been passed but it is null, so we should blank it out + // The groups field has been passed but it is null, so we should blank it out } elseif ($request->has('groups')) { $user->groups()->sync(array()); }