Update dialplan_edit.php
This commit is contained in:
parent
54d5355d86
commit
cea8a4b103
|
|
@ -81,7 +81,7 @@
|
|||
}
|
||||
|
||||
//get the list of applications
|
||||
if (!is_array($_SESSION['switch']['applications']) && count($_SESSION['switch']['applications']) == 0) {
|
||||
if (!is_array($_SESSION['switch']['applications'])) {
|
||||
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
|
||||
if ($fp) {
|
||||
$result = event_socket_request($fp, 'api show application');
|
||||
|
|
|
|||
Loading…
Reference in New Issue