diff --git a/app/devices/app_config.php b/app/devices/app_config.php index 404a4dfdf3..b0c1783817 100644 --- a/app/devices/app_config.php +++ b/app/devices/app_config.php @@ -349,14 +349,14 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_devices'; $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'device_uuid'; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = 'device_key_category'; - $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Select the type.'; - $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = 'device_key_id'; $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Select the key ID.'; $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'device_key_category'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Select the type.'; + $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = 'device_key_type'; $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Select the type.'; diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index 98a928d97d..94e598c868 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -574,6 +574,9 @@ require_once "resources/require.php"; echo " ".$row['device_key_id']." \n"; echo " \n"; echo "