Fix a syntax problem on the new class.

This commit is contained in:
markjcrane
2016-04-02 19:13:49 -06:00
parent 562f000356
commit 7fa92ef54f

View File

@@ -34,13 +34,13 @@ class switch {
public function settings() {
//define the variables
if (!isset($this->event_socket_ip_address) {
if (!isset($this->event_socket_ip_address)) {
$this->event_socket_ip_address = $_SESSION['event_socket_ip_address'];
}
if (!isset($this->event_socket_port) {
if (!isset($this->event_socket_port)) {
$this->event_socket_port = $_SESSION['event_socket_port'];
}
if (!isset($this->event_socket_password) {
if (!isset($this->event_socket_password)) {
$this->event_socket_password = $_SESSION['event_socket_password'];
}