From 0634ede9f501d4e8dcb26c85515ed6d1c475eeaa Mon Sep 17 00:00:00 2001 From: Alexandros Sigalas Date: Wed, 6 Mar 2019 07:57:44 +0200 Subject: [PATCH] Set $grants by default as an empty array --- api/src/Contacts/Storage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Contacts/Storage.php b/api/src/Contacts/Storage.php index 9583c19609..e3a8ea6ac3 100755 --- a/api/src/Contacts/Storage.php +++ b/api/src/Contacts/Storage.php @@ -102,7 +102,7 @@ class Storage * * @var array */ - var $grants; + var $grants = array(); /** * userid of current user