Skip to content

Commit

Permalink
fix accesso a pannello prenotazioni
Browse files Browse the repository at this point in the history
  • Loading branch information
madbob committed Oct 24, 2023
1 parent d6d7494 commit cf4e32a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/app/Http/Controllers/BookingUserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function show(Request $request, $aggregate_id, $user_id)
utente dall'apposito pannello, e devo rendere visibili sia la
prenotazione dell'utente stesso che quelle degli amici
*/
if ($extended == 'true' && $user->can('users.subusers')) {
if ($extended == 'true') {
return view('booking.editwrap', ['aggregate' => $aggregate, 'user' => $user, 'standalone' => true, 'required_mode' => $required_mode]);
}
else {
Expand Down

0 comments on commit cf4e32a

Please sign in to comment.