aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2023-01-05 10:10:03 +0100
committerGitHub <noreply@github.com>2023-01-05 10:10:03 +0100
commitb3b941b136223a5970e18ad72d6223253db53589 (patch)
tree94b9145ff5bbc07cd51408cbf7276047faf93458 /apps/settings/lib
parent18164ae5163496639737757702f59d52c0c9c657 (diff)
parent4c111845e8e67ad2313185db116f203391f11de3 (diff)
downloadnextcloud-server-b3b941b136223a5970e18ad72d6223253db53589.tar.gz
nextcloud-server-b3b941b136223a5970e18ad72d6223253db53589.zip
Merge pull request #36005 from nextcloud/fix/default-phone-region
Fix default phone region validation
Diffstat (limited to 'apps/settings/lib')
-rw-r--r--apps/settings/lib/Settings/Personal/PersonalInfo.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings/lib/Settings/Personal/PersonalInfo.php b/apps/settings/lib/Settings/Personal/PersonalInfo.php
index cf7b704e98b..535c1606527 100644
--- a/apps/settings/lib/Settings/Personal/PersonalInfo.php
+++ b/apps/settings/lib/Settings/Personal/PersonalInfo.php
@@ -154,6 +154,7 @@ class PersonalInfo implements ISettings {
'displayName' => $this->getProperty($account, IAccountManager::PROPERTY_DISPLAYNAME),
'emailMap' => $this->getEmailMap($account),
'phone' => $this->getProperty($account, IAccountManager::PROPERTY_PHONE),
+ 'defaultPhoneRegion' => $this->config->getSystemValueString('default_phone_region'),
'location' => $this->getProperty($account, IAccountManager::PROPERTY_ADDRESS),
'website' => $this->getProperty($account, IAccountManager::PROPERTY_WEBSITE),
'twitter' => $this->getProperty($account, IAccountManager::PROPERTY_TWITTER),