From f6f79198b6467435fd7caccd2067eb0a29c97787 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Fri, 21 Jun 2019 22:58:16 +0000
Subject: [PATCH] Move mapping creation to a function in lib/output.php
---
lib/vehicle_types.php | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/lib/vehicle_types.php b/lib/vehicle_types.php
index 7a799d9..36ec6fb 100644
--- a/lib/vehicle_types.php
+++ b/lib/vehicle_types.php
@@ -11,7 +11,11 @@
];
}
}
- return [];
+ return [
+ 'num' => '??'.$id,
+ 'type' => '?',
+ 'low' => NULL,
+ ];
}
function numToTypeT($id) {
$data = <<<'END'
--
Gitblit v1.10.0