aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Settings/Personal/PersonalInfo.php
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2023-01-05 00:23:49 +0000
committerChristopher Ng <chrng8@gmail.com>2023-01-05 00:26:34 +0000
commit4c111845e8e67ad2313185db116f203391f11de3 (patch)
treef975a1e15f5234146d7def649eccd4deb63ea215 /apps/settings/lib/Settings/Personal/PersonalInfo.php
parent74a0ac8854536c34bf7621033c79ebd0db79f3b4 (diff)
downloadnextcloud-server-4c111845e8e67ad2313185db116f203391f11de3.tar.gz
nextcloud-server-4c111845e8e67ad2313185db116f203391f11de3.zip
Fix default phone region validation
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/settings/lib/Settings/Personal/PersonalInfo.php')
-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),