mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
removes dead space
This commit is contained in:
parent
3f25a1bf61
commit
f2d4a61e3c
|
@ -135,7 +135,6 @@ class UsersController extends Controller
|
|||
|
||||
if ($user->save()) {
|
||||
if ($request->filled('groups')) {
|
||||
|
||||
$user->groups()->sync($request->input('groups'));
|
||||
} else {
|
||||
$user->groups()->sync([]);
|
||||
|
|
Loading…
Reference in a new issue