Fix a syntax problem on the new class.

This commit is contained in:
markjcrane 2016-04-02 19:13:49 -06:00
parent d9e00f2be3
commit 52ff8fae68
1 changed files with 3 additions and 3 deletions

View File

@ -34,13 +34,13 @@ class switch {
public function settings() { public function settings() {
//define the variables //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']; $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']; $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']; $this->event_socket_password = $_SESSION['event_socket_password'];
} }