Fix the call center queue active call list.

This commit is contained in:
markjcrane 2016-06-07 13:35:18 -06:00
parent 77d6adf51a
commit 9f902e435c
1 changed files with 1 additions and 1 deletions

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;