diff --git a/components/homepage/stop.php b/components/homepage/stop.php index 08e7157..d8b228a 100644 --- a/components/homepage/stop.php +++ b/components/homepage/stop.php @@ -40,12 +40,13 @@ foreach ($directions as $direction => $times) { ]; } elseif (count($times) == 1) { $finalDirections[] = [ - 'direction' => $times[0], + 'direction' => $direction, 'next_departure' => $times[0], 'following_departure' => '-' ]; } } + ?>