From 758790e722f7dfeba5fb5266311ff82da223030f Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 21 Mar 2019 16:00:51 -0600 Subject: [PATCH] Update switch.php --- resources/switch.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/resources/switch.php b/resources/switch.php index 176fc0b7cd..ed15401005 100644 --- a/resources/switch.php +++ b/resources/switch.php @@ -573,13 +573,10 @@ function extension_presence_id($extension, $number_alias = false) { $sql .= "where domain_uuid = '$domain_uuid' "; $sql .= "and (extension = '$extension' "; $sql .= "or number_alias = '$extension') "; - $sql .= "and enabled = 'true' "; - $result = $db->query($sql)->fetchAll(PDO::FETCH_ASSOC); if (count($result) == 0) { return false; } - foreach ($result as &$row) { $extension = $row['extension']; $number_alias = $row['number_alias'];