Update provision.php

This commit is contained in:
FusionPBX 2019-08-15 14:25:56 -06:00 committed by GitHub
parent e7dafecbe6
commit e6a5e12765
1 changed files with 54 additions and 52 deletions

View File

@ -1024,6 +1024,7 @@ include "root.php";
if (isset($device_uuid)) {
//get the device profile keys
if (isset($device_profile_uuid) && is_uuid($device_profile_uuid)) {
$sql = "SELECT ";
$sql .= "profile_key_id as device_key_id, ";
$sql .= "profile_key_category as device_key_category, ";
@ -1078,6 +1079,7 @@ include "root.php";
}
}
unset($keys);
}
//get the device keys
$sql = "SELECT * FROM v_device_keys ";