aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Contacts/ContactsMenu/ContactsStore.php
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2022-06-28 12:05:16 +0200
committerGitHub <noreply@github.com>2022-06-28 12:05:16 +0200
commit64bff27c99fe387c79d5eecd19e549f61c3f8d4a (patch)
treecd1113c245e703da61ef09151dca1ea41ea4abff /lib/private/Contacts/ContactsMenu/ContactsStore.php
parent2956da417841cb045796b5e0ff9ab50d1db4ca94 (diff)
parentc598e3cafa368cc9cd665b3857b4fb60251d1442 (diff)
downloadnextcloud-server-64bff27c99fe387c79d5eecd19e549f61c3f8d4a.tar.gz
nextcloud-server-64bff27c99fe387c79d5eecd19e549f61c3f8d4a.zip
Merge pull request #32960 from nextcloud/fix/avoid-using-undeclared-properties
Fix PHP 8.2 warnings about undeclared properties
Diffstat (limited to 'lib/private/Contacts/ContactsMenu/ContactsStore.php')
-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 ?? [];