$racerooms = $this->getRacetime($event->racetime_category);
foreach ($episodes as $episode) {
$rooms = $this->filterID($episode, $racerooms);
- if (count($rooms) > 1) {
- $rooms = $this->filterStartTime($episode, $rooms);
- }
+ //if (count($rooms) > 1) {
+ // $rooms = $this->filterStartTime($episode, $rooms);
+ //}
if (count($rooms) > 1) {
$rooms = $this->filterPlayerNames($episode, $rooms);
}
$pnames[] = $pname;
}
}
- if (empty($pnames)) {
+ if (count($pnames) < 2) {
return $racerooms;
}
$rooms = [];