Fix the removal of the autocomplete field.

This commit is contained in:
markjcrane 2015-09-19 18:13:15 -06:00
parent 584887441d
commit e24e62e6f1
1 changed files with 1 additions and 1 deletions

View File

@ -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) {