From 584e356920ced0e4cac68824062a7179926f3ad0 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 18 Nov 2012 12:42:55 +0100 Subject: Fix so mobile phone has TYPE=CELL in exported vCard (#1488812) --- program/include/rcube_vcard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/include/rcube_vcard.php') 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'); -- cgit v1.2.3