From eed350b38a2c95d9d936e7081352e00409fca00f Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sun, 29 Dec 2013 06:49:28 +0000 Subject: [PATCH] Add the missing column to device edit. --- app/devices/app_config.php | 8 ++++---- app/devices/device_edit.php | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) 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 " \n"; + echo " ".$row['device_key_category']." \n"; + echo " \n"; + echo " \n"; echo " ".$row['device_key_type']." \n"; echo " \n"; echo " \n";