Update device_profile_edit.php
This commit is contained in:
parent
1f93707ba1
commit
2ddebb2b28
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue