From ba83a0f99e0569465cbf1d95333ba5c4afbae5f3 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Sat, 19 Sep 2015 17:59:07 -0600 Subject: [PATCH] Another situation where autocomplete=off prevented a bug. Provisioning a devcie by adding sip registration information for device provisioning in this case autocomplete always fills in incorrect information. --- app/devices/device_edit.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index cc2f8ddcb7..a9861e6422 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -217,6 +217,7 @@ require_once "resources/require.php"; //array cleanup $x = 0; + unset($_POST["autocomplete"][$x]); foreach ($_POST["device_lines"] as $row) { //unset the empty row if (strlen($row["line_number"]) == 0) { @@ -502,6 +503,7 @@ require_once "resources/require.php"; \n"; + echo ""; echo "\n"; echo "\n"; echo "
";