Update device_profile_edit.php

This commit is contained in:
FusionPBX 2018-10-13 19:25:48 -06:00 committed by GitHub
parent 1f93707ba1
commit 2ddebb2b28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -143,7 +143,6 @@
$x++;
}
//prepare the array
$array['device_profiles'][] = $_POST;
@ -416,6 +415,9 @@
if (strlen($row['device_key_uuid']) > 0) {
echo " <input name='device_keys[".$x."][device_key_uuid]' type='hidden' value=\"".escape($row['device_key_uuid'])."\">\n";
}
else {
echo " <input name='device_keys[".$x."][device_key_uuid]' type='hidden' value=\"".uuid()."\">\n";
}
//show all the rows in the array
echo "<tr>\n";
echo "<td valign='top' align='left' nowrap='nowrap'>\n";