From e24e62e6f1a1a676f45a578b8b85504353a890ad Mon Sep 17 00:00:00 2001 From: markjcrane Date: Sat, 19 Sep 2015 18:13:15 -0600 Subject: [PATCH] Fix the removal of the autocomplete field. --- app/devices/device_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index a9861e6422..84c101e1ad 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -217,7 +217,7 @@ require_once "resources/require.php"; //array cleanup $x = 0; - unset($_POST["autocomplete"][$x]); + unset($_POST["autocomplete"]); foreach ($_POST["device_lines"] as $row) { //unset the empty row if (strlen($row["line_number"]) == 0) {