diff --git a/Result/Result.php b/Result/Result.php index 3e7c3b6..38e92e5 100644 --- a/Result/Result.php +++ b/Result/Result.php @@ -501,7 +501,7 @@ public function cleanUp($config, $dateformat) } if (isset($this->network->contacts) && sizeof($this->network->contacts) === 1) { - $this->network = null; + unset($this->network->contacts); } // format dates @@ -575,4 +575,4 @@ public function mergeFrom(Result $result) $this->$prop = $result->$prop; } } -} \ No newline at end of file +}