Update calls_active_inc.php

This commit is contained in:
FusionPBX
2017-11-21 03:56:58 -07:00
committed by GitHub
parent f73939caf1
commit c94b910d7b
+1 -1
View File
@@ -70,7 +70,7 @@
$presence_id_array = explode('@', $row['presence_id']); $presence_id_array = explode('@', $row['presence_id']);
$row['domain_name'] = $presence_id_array[1]; $row['domain_name'] = $presence_id_array[1];
} }
else if (strlen($context) == 0) { else if (strlen($context) > 0) {
if (substr_count($context, '@') > 0) { if (substr_count($context, '@') > 0) {
$context_array = explode('@', $context); $context_array = explode('@', $context);
$row['domain_name'] = $context_array[1]; $row['domain_name'] = $context_array[1];