mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 03:33:49 +00:00
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.
This commit is contained in:
@@ -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";
|
||||
<?php
|
||||
//show the content
|
||||
echo "<form method='post' name='frm' id='frm' action='' onsubmit='check_duplicates(); return false;'>\n";
|
||||
echo "<input style='display:none;' type='password' name='autocomplete'>";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td align='left' width='30%' nowrap='nowrap' valign='top'>";
|
||||
|
||||
Reference in New Issue
Block a user