From 066257ff308a9324383d02f5941e4270863b98fc Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 22 Mar 2016 08:56:55 +0000 Subject: [PATCH] fix PHP Fatal error: Call to a member function read() on null in etemplate/inc/class.contact_widget.inc.php, private var must be only protected --- api/src/Etemplate/Widget/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Etemplate/Widget/Contact.php b/api/src/Etemplate/Widget/Contact.php index bcdc6f0a05..dabdc9c429 100644 --- a/api/src/Etemplate/Widget/Contact.php +++ b/api/src/Etemplate/Widget/Contact.php @@ -26,7 +26,7 @@ class Contact extends Entry * * @var Api\Contacts */ - private $contacts; + protected $contacts; /** * Array with a transformation description, based on attributes to modify.