From 2bac868d6e5421e78b4aeaead798cec9e6d3041f Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Tue, 18 Jun 2019 07:57:44 +0000
Subject: [PATCH] Add '??' prefix when using GTFS vehicle ID

---
 lib/vehicle_types.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lib/vehicle_types.php b/lib/vehicle_types.php
index 70f2eef..44b6b33 100644
--- a/lib/vehicle_types.php
+++ b/lib/vehicle_types.php
@@ -7,7 +7,7 @@
 			return [
 				'num' => $line[2] . str_pad($id, 3, '0', STR_PAD_LEFT),
 				'type' => $line[3],
-				'low' => isset($line[4]) ? $line[4] : $defaultLow,
+				'low' => (int)(isset($line[4]) ? $line[4] : $defaultLow),
 			];
 		}
 	}
@@ -42,6 +42,7 @@
 323	323	RF	GT8N	1
 324	324	RF	GT8S	0
 325	328	RF	GT8N	1
+329	329	RF	GT8SU	1
 401	440	HL	EU8N	1
 451	456	HK	N8C-NF	0
 457	461	HK	N8S-NF	1

--
Gitblit v1.9.1