Update provision.php
This commit is contained in:
parent
ac9d8ca228
commit
0da7c5e103
|
|
@ -710,8 +710,9 @@ include "root.php";
|
||||||
//mac address does not exist in the table so add it
|
//mac address does not exist in the table so add it
|
||||||
if ($_SESSION['provision']['auto_insert_enabled']['boolean'] == "true" and strlen($domain_uuid) > 0) {
|
if ($_SESSION['provision']['auto_insert_enabled']['boolean'] == "true" and strlen($domain_uuid) > 0) {
|
||||||
|
|
||||||
|
//get a new primary key
|
||||||
$device_uuid = uuid();
|
$device_uuid = uuid();
|
||||||
|
|
||||||
//prepare the array
|
//prepare the array
|
||||||
$x = 0;
|
$x = 0;
|
||||||
$array['devices'][$x]['domain_uuid'] = $domain_uuid;
|
$array['devices'][$x]['domain_uuid'] = $domain_uuid;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue