mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44: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 ($user->save()) {
|
||||||
if ($request->filled('groups')) {
|
if ($request->filled('groups')) {
|
||||||
|
|
||||||
$user->groups()->sync($request->input('groups'));
|
$user->groups()->sync($request->input('groups'));
|
||||||
} else {
|
} else {
|
||||||
$user->groups()->sync([]);
|
$user->groups()->sync([]);
|
||||||
|
|
Loading…
Reference in a new issue