From c2f825c56a5cec12615044c7ba0e6efced8f6d12 Mon Sep 17 00:00:00 2001 From: Valentin <43043885+itsmrval@users.noreply.github.com> Date: Thu, 13 Jun 2024 01:14:35 +0200 Subject: [PATCH] fix(homepage) direction mistake --- components/homepage/stop.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' => '-' ]; } } + ?>