Fix the call center queue active call list.

This commit is contained in:
markjcrane
2016-06-07 13:35:18 -06:00
parent 28dcd4ba56
commit d4cfb7231d

View File

@@ -248,7 +248,7 @@ else {
$switch_cmd = 'callcenter_config queue list members '.$queue_name;
$event_socket_str = trim(event_socket_request($fp, 'api '.$switch_cmd));
$result = str_to_named_array($event_socket_str, '|');
if (strlen($result) == 0) { unset($result); }
if (!is_array($result)) { unset($result); }
//show the title
$q_waiting=0;