Require extension_type as default

This commit is contained in:
FusionPBX 2023-07-13 21:32:25 -06:00 committed by GitHub
parent b1457116d8
commit f93fd6b00c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -52,6 +52,7 @@
$sql = "select * from v_extensions ";
$sql .= "where domain_uuid = :domain_uuid ";
$sql .= "and enabled = 'true' ";
$sql .= "and extension_type = 'default' ";
$sql .= "order by extension asc ";
}
else {
@ -63,6 +64,7 @@
$sql .= "and eu.user_uuid = :user_uuid ";
$sql .= "and e.domain_uuid = :domain_uuid ";
$sql .= "and e.enabled = 'true' ";
$sql .= "and e.extension_type = 'default' ";
$sql .= "order by e.extension asc ";
$parameters['user_uuid'] = $_SESSION['user']['user_uuid'];
}
@ -196,4 +198,4 @@
//add the footer
require_once "resources/footer.php";
?>
?>