mirror of https://github.com/itsmrval/subway
parent
913ff89538
commit
2d5b9c7b30
|
|
@ -40,12 +40,13 @@ foreach ($directions as $direction => $times) {
|
||||||
];
|
];
|
||||||
} elseif (count($times) == 1) {
|
} elseif (count($times) == 1) {
|
||||||
$finalDirections[] = [
|
$finalDirections[] = [
|
||||||
'direction' => $times[0],
|
'direction' => $direction,
|
||||||
'next_departure' => $times[0],
|
'next_departure' => $times[0],
|
||||||
'following_departure' => '-'
|
'following_departure' => '-'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue