From 9be5757623a8897c3e793590a1630ac2bba2b83d Mon Sep 17 00:00:00 2001 From: Marc Ducobu Date: Wed, 8 Apr 2015 16:48:48 +0200 Subject: [PATCH] Solving bug #478 - cFData is null and not contains an empty array - refs #478 --- Entity/Person.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Entity/Person.php b/Entity/Person.php index 6aee958c2..25b0a4804 100644 --- a/Entity/Person.php +++ b/Entity/Person.php @@ -508,6 +508,9 @@ class Person { */ public function getCFData() { + if ($this->cFData === null) { + $this->cFData = []; + } return $this->cFData; }