aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/AppBundle/Controller/TrainScheduleController.php2
1 files changed, 1 insertions, 1 deletions
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) {