diff --git a/lib/Client.php b/lib/Client.php index 1f46ab1..5d80e11 100644 --- a/lib/Client.php +++ b/lib/Client.php @@ -212,7 +212,8 @@ public function receive() { $filter = $this->options['filter']; $return_obj = $this->options['return_obj']; - + $return = null; + if (!$this->isConnected()) { $this->connect(); }