Fix the call center queue active call list.
This commit is contained in:
parent
77d6adf51a
commit
9f902e435c
|
|
@ -248,7 +248,7 @@ else {
|
||||||
$switch_cmd = 'callcenter_config queue list members '.$queue_name;
|
$switch_cmd = 'callcenter_config queue list members '.$queue_name;
|
||||||
$event_socket_str = trim(event_socket_request($fp, 'api '.$switch_cmd));
|
$event_socket_str = trim(event_socket_request($fp, 'api '.$switch_cmd));
|
||||||
$result = str_to_named_array($event_socket_str, '|');
|
$result = str_to_named_array($event_socket_str, '|');
|
||||||
if (strlen($result) == 0) { unset($result); }
|
if (!is_array($result)) { unset($result); }
|
||||||
|
|
||||||
//show the title
|
//show the title
|
||||||
$q_waiting=0;
|
$q_waiting=0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue