diff --git a/class.growl.php b/class.growl.php index a374029..1930f73 100644 --- a/class.growl.php +++ b/class.growl.php @@ -104,12 +104,14 @@ private function setConnectionData($connection) throw new Exception('Address Missing', 'Unable to send notification without ip address.'); } + $this->port = $connection['port']; $this->address = $connection['address']; $this->password = (!empty($connection['password'])) ? $connection['password'] : ''; } private function resetConnectionData() { + $this->port = 0; $this->address = null; $this->password = null; }