Jacek Kowalski
2019-06-17 42f5b96640a2fe6986849f96228a80e294cf353e
Do not output null if no vehicle number is present in GTFS
1 files modified
2 ■■■ changed files
lib/mapper.php 2 ●●● patch | view | raw | blame | history
lib/mapper.php
@@ -135,7 +135,7 @@
                $num = $gtfsTrip['num'];
                if(!is_array($data) || !isset($data['num'])) {
                    $data = [
                        'num' => $num,
                        'num' => $num ?: '',
                        'low' => 2,
                    ];
                } elseif($data['num'] != $num) {