Fix incorrect client ID indexes

master
Skylar Ittner 4 years ago
parent 684f33b9e5
commit 122c85387c

@ -1,4 +1,5 @@
{ {
"Date": "Date", "Date": "Date",
"Technician": "Technician" "Technician": "Technician",
"Event": "Event"
} }

@ -68,7 +68,7 @@ class Machine implements JsonSerializable {
"components" => $this->components, "components" => $this->components,
"formdata" => [ "formdata" => [
"options" => [ "options" => [
"clientid" => array_merge(["" => ""], Clients::getAllAsIDNameArray()), "clientid" => ["" => ""] + Clients::getAllAsIDNameArray(),
"type" => Machine::getTypeList() "type" => Machine::getTypeList()
], ],
"inputtypes" => [ "inputtypes" => [

Loading…
Cancel
Save