diff --git a/app/Http/Controllers/GroupsController.php b/app/Http/Controllers/GroupsController.php index 1eb0b86f89..8db126f6c5 100755 --- a/app/Http/Controllers/GroupsController.php +++ b/app/Http/Controllers/GroupsController.php @@ -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