Update calls_active_inc.php

This commit is contained in:
FusionPBX 2017-11-21 03:56:58 -07:00 committed by GitHub
parent bab329d6a7
commit 7029d3c74f
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@
$presence_id_array = explode('@', $row['presence_id']);
$row['domain_name'] = $presence_id_array[1];
}
else if (strlen($context) == 0) {
else if (strlen($context) > 0) {
if (substr_count($context, '@') > 0) {
$context_array = explode('@', $context);
$row['domain_name'] = $context_array[1];