summaryrefslogtreecommitdiffstats
path: root/lib/private/Contacts
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-06-21 16:03:45 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-06-21 16:17:52 +0200
commit1bd5222224bac9b8f1037c992367c9af85a9ec5a (patch)
tree2a36b991633734a0738a415c266bcdfeb290c58a /lib/private/Contacts
parentdbc2c2325ea194b4588515e5fad988b7ab9bcf3f (diff)
downloadnextcloud-server-1bd5222224bac9b8f1037c992367c9af85a9ec5a.tar.gz
nextcloud-server-1bd5222224bac9b8f1037c992367c9af85a9ec5a.zip
Fix PHP 8.2 warnings about undeclared properties
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Contacts')
-rw-r--r--lib/private/Contacts/ContactsMenu/ContactsStore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Contacts/ContactsMenu/ContactsStore.php b/lib/private/Contacts/ContactsMenu/ContactsStore.php
index 020e8604910..4d7fda39c6a 100644
--- a/lib/private/Contacts/ContactsMenu/ContactsStore.php
+++ b/lib/private/Contacts/ContactsMenu/ContactsStore.php
@@ -150,7 +150,7 @@ class ContactsStore implements IContactsStore {
$selfGroups = $this->groupManager->getUserGroupIds($self);
if ($excludedGroups) {
- $excludedGroups = $this->config->getAppValue('core', 'shareapi_exclude_groups_list');
+ $excludedGroups = $this->config->getAppValue('core', 'shareapi_exclude_groups_list', '');
$decodedExcludeGroups = json_decode($excludedGroups, true);
$excludeGroupsList = $decodedExcludeGroups ?? [];