Skip to content

Commit 6913efa

Browse files
committed
Remove duplicate tickets from the seating plan page
1 parent 34f7a12 commit 6913efa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/Http/Controllers/SeatingPlanController.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ public function show(Request $request, Event $event, ?Ticket $ticket = null)
8989
}
9090
}
9191
}
92+
93+
$responsibleTickets = array_unique($responsibleTickets);
94+
$responsibleSeats = array_unique($responsibleSeats);
9295

9396
// Now our seat data
9497
$seats = [];

0 commit comments

Comments
 (0)