From 1d24e941dc7d9da10c9045203ae18f5234c774f5 Mon Sep 17 00:00:00 2001 From: marcinzelent Date: Wed, 20 Dec 2017 11:16:02 +0100 Subject: Small fix. --- src/AppBundle/Controller/TrainScheduleController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/AppBundle') diff --git a/src/AppBundle/Controller/TrainScheduleController.php b/src/AppBundle/Controller/TrainScheduleController.php index 1f828f4..a6b517d 100644 --- a/src/AppBundle/Controller/TrainScheduleController.php +++ b/src/AppBundle/Controller/TrainScheduleController.php @@ -61,7 +61,7 @@ class TrainScheduleController extends Controller if($trainTimeStamp > time()) { $trains[$i]['direction'] = 0; - break; + continue; } foreach ($readings as $reading) { -- cgit v1.2.3