Jacek Kowalski
2019-02-01 6609f2597703e2b90d6fc6b0b6cb502570b0906d
Write out vehicle id, not trip id
1 files modified
2 ■■■ changed files
parse.php 2 ●●● patch | view | raw | blame | history
parse.php
@@ -121,7 +121,7 @@
                    // Ignore due to incorrect depot markings in the data
                    //fwrite(STDERR, 'Got '.$num.', database has '.$data['num']."\n");
                }
                $result[$jsonTripId] = $data;
                $result[$this->jsonTrips[$jsonTripId]['id']] = $data;
            }
        }
        return $result;