Update extensions.php (#4682)

This commit is contained in:
chansizzle 2019-09-27 15:52:14 -06:00 committed by FusionPBX
parent 5dda6be483
commit d520baf14d
1 changed files with 11 additions and 9 deletions

View File

@ -227,6 +227,7 @@
$extension_number_alias .= '@'.$_SESSION['domain_name'];
}
$found_count = 0;
if (is_array($registrations)) {
foreach ($registrations as $array) {
if (
($extension_number == $array['user']) ||
@ -237,6 +238,7 @@
$found_count++;
}
}
}
if ($found_count > 0) {
echo "Yes ($found_count)";
} else {