Commit ed4151cc authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #142 in ZP/z-push from...

Merge pull request #142 in ZP/z-push from bugfix/ZP-829-carddav-fix-phone-number-mappings to develop

* commit 'e08a6857':
  ZP-829 CardDAV mappings for phone numbers. Released under the Affero GNU General Public License (AGPL) version 3.
parents 21fb7d6b e08a6857
......@@ -850,11 +850,11 @@ class BackendCardDAV extends BackendDiff implements ISearchProvider {
else {
$items[$rc][SYNC_GAL_LASTNAME] = "";
}
if (isset($contact->business2phonenumber)) {
$items[$rc][SYNC_GAL_PHONE] = $contact->business2phonenumber;
if (isset($contact->businessphonenumber)) {
$items[$rc][SYNC_GAL_PHONE] = $contact->businessphonenumber;
}
if (isset($contact->home2phonenumber)) {
$items[$rc][SYNC_GAL_HOMEPHONE] = $contact->home2phonenumber;
if (isset($contact->homephonenumber)) {
$items[$rc][SYNC_GAL_HOMEPHONE] = $contact->homephonenumber;
}
if (isset($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