mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Hide in the phone directory (#2782)
Hide the extension in the phone directory if Extension -> Directory_Visible = false.
This commit is contained in:
@@ -877,6 +877,7 @@ include "root.php";
|
||||
$sql .= "from v_extensions ";
|
||||
$sql .= "where domain_uuid = '".$domain_uuid."' ";
|
||||
$sql .= "and enabled = 'true' ";
|
||||
$sql .= "and directory_visible = 'true' ";
|
||||
$sql .= "order by number_alias, extension asc ";
|
||||
$prep_statement = $this->db->prepare($sql);
|
||||
if ($prep_statement) {
|
||||
|
||||
Reference in New Issue
Block a user