Update provision.php

This commit is contained in:
FusionPBX 2018-12-11 15:38:15 -07:00 committed by GitHub
parent 718c847a00
commit 3e0e150453
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;