Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas authored and Jonas committed Jul 10, 2024
2 parents 3adeec0 + bb42e65 commit 3a4ebae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/UI/UsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function invite(Request $request)
$role = Role::where('name', $request->input('role'))->first();
$services = [];
if ($request->has('service_id')) {
$serviceIds = $request->input('service_id');
$serviceIds = (array) $request->input('service_id');
// Get all the services based on the given service ids.
$services = Service::whereIn('id', $serviceIds)->get();
}
Expand Down

0 comments on commit 3a4ebae

Please sign in to comment.