summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-11-18 12:42:55 +0100
committerAleksander Machniak <alec@alec.pl>2012-11-18 12:42:55 +0100
commit584e356920ced0e4cac68824062a7179926f3ad0 (patch)
tree30eecc61580a6bbdf2a7c52f1ee840ef93a00678 /program
parentbe9aacaa5296dfca63fb3a01c2dc52538d1546aa (diff)
Fix so mobile phone has TYPE=CELL in exported vCard (#1488812)
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_vcard.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_vcard.php b/program/include/rcube_vcard.php
index d0a341da1..72919d86b 100644
--- a/program/include/rcube_vcard.php
+++ b/program/include/rcube_vcard.php
@@ -52,7 +52,7 @@ class rcube_vcard
'edit' => 'X-AB-EDIT',
);
private $typemap = array('IPHONE' => 'mobile', 'CELL' => 'mobile', 'WORK,FAX' => 'workfax');
- private $phonetypemap = array('HOME1' => 'HOME', 'BUSINESS1' => 'WORK', 'BUSINESS2' => 'WORK2', 'BUSINESSFAX' => 'WORK,FAX');
+ private $phonetypemap = array('HOME1' => 'HOME', 'BUSINESS1' => 'WORK', 'BUSINESS2' => 'WORK2', 'BUSINESSFAX' => 'WORK,FAX', 'MOBILE' => 'CELL');
private $addresstypemap = array('BUSINESS' => 'WORK');
private $immap = array('X-JABBER' => 'jabber', 'X-ICQ' => 'icq', 'X-MSN' => 'msn', 'X-AIM' => 'aim', 'X-YAHOO' => 'yahoo', 'X-SKYPE' => 'skype', 'X-SKYPE-USERNAME' => 'skype');