ZP-829 CardDAV mappings for phone numbers. Released under the Affero GNU...

ZP-829 CardDAV mappings for phone numbers. Released under the Affero GNU General Public License (AGPL) version 3.
parent f9e71d7f
...@@ -850,11 +850,11 @@ class BackendCardDAV extends BackendDiff implements ISearchProvider { ...@@ -850,11 +850,11 @@ class BackendCardDAV extends BackendDiff implements ISearchProvider {
else { else {
$items[$rc][SYNC_GAL_LASTNAME] = ""; $items[$rc][SYNC_GAL_LASTNAME] = "";
} }
if (isset($contact->business2phonenumber)) { if (isset($contact->businessphonenumber)) {
$items[$rc][SYNC_GAL_PHONE] = $contact->business2phonenumber; $items[$rc][SYNC_GAL_PHONE] = $contact->businessphonenumber;
} }
if (isset($contact->home2phonenumber)) { if (isset($contact->homephonenumber)) {
$items[$rc][SYNC_GAL_HOMEPHONE] = $contact->home2phonenumber; $items[$rc][SYNC_GAL_HOMEPHONE] = $contact->homephonenumber;
} }
if (isset($contact->mobilephonenumber)) { if (isset($contact->mobilephonenumber)) {
$items[$rc][SYNC_GAL_MOBILEPHONE] = $contact->mobilephonenumber; $items[$rc][SYNC_GAL_MOBILEPHONE] = $contact->mobilephonenumber;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment