From 96c5f5f3abd1f4af6e51e33f91b32b89b7661153 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Tue, 14 Jul 2020 17:30:22 +0000 Subject: [PATCH] Add 15 more Stadler Tango trams (optional batch was purchased) --- lib/TramTypes.php | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/lib/TramTypes.php b/lib/TramTypes.php index 698d4a9..fe6adf5 100644 --- a/lib/TramTypes.php +++ b/lib/TramTypes.php @@ -40,7 +40,7 @@ 627 650 RP NGT6 (3) 2 801 824 RY NGT8 2 825 839 RY Stadler Tango 2 -840 859 HY Stadler Tango 2 +840 874 HY Stadler Tango 2 899 899 RY 126N 2 901 914 RG 2014N 2 915 936 HG 2014N 2 @@ -48,4 +48,11 @@ END; parent::__construct($data); } + + public function getByNumber($id) { + if($id == 312) { + $id = 316; + } + return parent::getByNumber($id); + } } -- Gitblit v1.9.1