mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
fix condition (#2298)
This commit is contained in:
@@ -51,7 +51,7 @@ if (!class_exists('switch_settings')) {
|
||||
}
|
||||
}
|
||||
if (!isset($this->event_socket_port)) {
|
||||
if (strlen($_SESSION['event_socket_ip_address']) > 0) {
|
||||
if (strlen($_SESSION['event_socket_port']) > 0) {
|
||||
$this->event_socket_port = $_SESSION['event_socket_port'];
|
||||
}
|
||||
else {
|
||||
@@ -59,7 +59,7 @@ if (!class_exists('switch_settings')) {
|
||||
}
|
||||
}
|
||||
if (!isset($this->event_socket_password)) {
|
||||
if (strlen($_SESSION['event_socket_ip_address']) > 0) {
|
||||
if (strlen($_SESSION['event_socket_password']) > 0) {
|
||||
$this->event_socket_password = $_SESSION['event_socket_password'];
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user