diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2023-05-25 15:56:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-25 15:56:08 +0200 |
commit | 9780472a027195dfd63e3d7f068504f3121bae8c (patch) | |
tree | cecd56b9ad9da658edc7cd7479b66ae4db1ed22f | |
parent | 3d36420736fa08307e4c0798014aa3fe72a26fbe (diff) | |
parent | 50b61c8b7b884154cc5eb6f74cb04e7cac3192f8 (diff) | |
download | nextcloud-server-9780472a027195dfd63e3d7f068504f3121bae8c.tar.gz nextcloud-server-9780472a027195dfd63e3d7f068504f3121bae8c.zip |
Merge pull request #38454 from nextcloud/fix/capitalization-other-tel
fix(carddav): Make system contact phone number RFC compliant
-rw-r--r-- | apps/dav/lib/CardDAV/Converter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CardDAV/Converter.php b/apps/dav/lib/CardDAV/Converter.php index 2257b229e80..a416a9f757a 100644 --- a/apps/dav/lib/CardDAV/Converter.php +++ b/apps/dav/lib/CardDAV/Converter.php @@ -89,7 +89,7 @@ class Converter { $vCard->add(new Text($vCard, 'URL', $property->getValue(), ['X-NC-SCOPE' => $scope])); break; case IAccountManager::PROPERTY_PHONE: - $vCard->add(new Text($vCard, 'TEL', $property->getValue(), ['TYPE' => 'OTHER', 'X-NC-SCOPE' => $scope])); + $vCard->add(new Text($vCard, 'TEL', $property->getValue(), ['TYPE' => 'VOICE', 'X-NC-SCOPE' => $scope])); break; case IAccountManager::PROPERTY_ADDRESS: $vCard->add(new Text($vCard, 'ADR', $property->getValue(), ['TYPE' => 'OTHER', 'X-NC-SCOPE' => $scope])); |