From 7fa92ef54f81747fa8134e69bcfd44189e8aba21 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Sat, 2 Apr 2016 19:13:49 -0600 Subject: [PATCH] Fix a syntax problem on the new class. --- resources/classes/switch.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/classes/switch.php b/resources/classes/switch.php index 1f519f1389..408ad3e99d 100644 --- a/resources/classes/switch.php +++ b/resources/classes/switch.php @@ -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']; }