mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
Fix undefined/unset scope in account properties
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
7484abb6c0
commit
3c84570901
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue