Update calls_active_inc.php

This commit is contained in:
FusionPBX
2017-11-21 03:09:04 -07:00
committed by GitHub
parent dd71f93b43
commit bab329d6a7

View File

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