Update provision.php

This commit is contained in:
FusionPBX 2018-12-11 15:38:15 -07:00 committed by GitHub
parent ac9d8ca228
commit 0da7c5e103
1 changed files with 2 additions and 1 deletions

View File

@ -710,8 +710,9 @@ include "root.php";
//mac address does not exist in the table so add it
if ($_SESSION['provision']['auto_insert_enabled']['boolean'] == "true" and strlen($domain_uuid) > 0) {
//get a new primary key
$device_uuid = uuid();
//prepare the array
$x = 0;
$array['devices'][$x]['domain_uuid'] = $domain_uuid;