aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcinzelent <zelent.marcin@gmail.com>2017-12-20 11:16:02 +0100
committermarcinzelent <zelent.marcin@gmail.com>2017-12-20 11:16:02 +0100
commit1d24e941dc7d9da10c9045203ae18f5234c774f5 (patch)
tree9141dfb1806dd273404a23ccb3369e75f7e92146 /src/AppBundle/Controller/TrainScheduleController.php
parentd8e3c19acc0ee7d9d110db5d1c692530097b739f (diff)
Small fix.
Diffstat (limited to 'src/AppBundle/Controller/TrainScheduleController.php')
-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) {