From bf69ce48a9ba6fa1ef7041c5be6eac9dc450b109 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 8 Jan 2014 19:54:33 +0000 Subject: [PATCH] Fix the back button on the device key edit page. And fix disabled select option. --- app/devices/device_key_edit.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/devices/device_key_edit.php b/app/devices/device_key_edit.php index 60042981db..7681f504d8 100644 --- a/app/devices/device_key_edit.php +++ b/app/devices/device_key_edit.php @@ -169,6 +169,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { $prep_statement->execute(); $result = $prep_statement->fetchAll(PDO::FETCH_NAMED); foreach ($result as &$row) { + $device_uuid = $row["device_uuid"]; $device_key_id = $row["device_key_id"]; $device_key_category = $row["device_key_category"]; $device_key_type = $row["device_key_type"]; @@ -195,7 +196,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "\n"; @@ -460,7 +461,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { - +
".$text['title-device_key']."