Update provision.php

This commit is contained in:
FusionPBX 2017-06-21 10:50:33 -06:00 committed by GitHub
parent 65b37481a8
commit fcfe804a47
1 changed files with 1 additions and 1 deletions

View File

@ -829,7 +829,7 @@ include "root.php";
//get the extensions and add them to the contacts array //get the extensions and add them to the contacts array
if (strlen($device_uuid) > 0 and strlen($domain_uuid) > 0 and $_SESSION['provision']['contact_extensions']['boolean'] == "true") { if (strlen($device_uuid) > 0 and strlen($domain_uuid) > 0 and $_SESSION['provision']['contact_extensions']['boolean'] == "true") {
//get contacts from the database //get contacts from the database
$sql = "select extension_uuid as contact_uuid, directory_full_name, "; $sql = "select extension_uuid as contact_uuid, directory_first_name, directory_last_name, ";
$sql .= "effective_caller_id_name, effective_caller_id_number, "; $sql .= "effective_caller_id_name, effective_caller_id_number, ";
$sql .= "number_alias, extension "; $sql .= "number_alias, extension ";
$sql .= "from v_extensions "; $sql .= "from v_extensions ";