From 8e2d87cebfc5523b5abe80c438e3c5d8c358272a Mon Sep 17 00:00:00 2001 From: Raymond Muilwijk Date: Wed, 10 Aug 2016 15:21:50 +0200 Subject: [PATCH] Issue #44 Network section nulled --- Result/Result.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}