mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
Prepopulate ther groups array on create
This commit is contained in:
parent
3d0525bc51
commit
83547e3fed
|
@ -47,7 +47,7 @@ class GroupsController extends Controller
|
|||
$group = new Group;
|
||||
// Get all the available permissions
|
||||
$permissions = config('permissions');
|
||||
$groupPermissions = array();
|
||||
$groupPermissions = Helper::selectedPermissionsArray($permissions, $permissions);
|
||||
$selectedPermissions = Input::old('permissions', $groupPermissions);
|
||||
|
||||
// Show the page
|
||||
|
|
Loading…
Reference in a new issue