From 3c845709019dce47697b690dc55b111a144e250c Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 11 Jan 2022 10:15:06 +0100 Subject: Fix undefined/unset scope in account properties Signed-off-by: Joas Schilling --- lib/private/Accounts/AccountProperty.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/private') diff --git a/lib/private/Accounts/AccountProperty.php b/lib/private/Accounts/AccountProperty.php index 4b7f2b0c04c..896dfd247b5 100644 --- a/lib/private/Accounts/AccountProperty.php +++ b/lib/private/Accounts/AccountProperty.php @@ -152,6 +152,7 @@ class AccountProperty implements IAccountProperty { switch ($scope) { case IAccountManager::VISIBILITY_PRIVATE: + case '': return IAccountManager::SCOPE_LOCAL; case IAccountManager::VISIBILITY_CONTACTS_ONLY: return IAccountManager::SCOPE_FEDERATED; -- cgit v1.2.3