From cc82cfcd706ee0ecfb50423baa80ae0766fb6acf Mon Sep 17 00:00:00 2001 From: Dave West Date: Sat, 27 Oct 2007 15:15:57 +0000 Subject: [PATCH] Fixed the mobile phone number in the vCard so it has the correct attribute name. --- webcit/vcard_edit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webcit/vcard_edit.c b/webcit/vcard_edit.c index d3e83a783..a4067e104 100644 --- a/webcit/vcard_edit.c +++ b/webcit/vcard_edit.c @@ -157,7 +157,7 @@ void do_edit_vcard(long msgnum, char *partnum, char *return_to, char *force_room extract_token(faxtel, value, 0, ';', sizeof faxtel); } - else if (!strcasecmp(key, "tel;mobile")) { + else if (!strcasecmp(key, "tel;cell")) { extract_token(mobiletel, value, 0, ';', sizeof mobiletel); } @@ -446,7 +446,7 @@ void submit_vcard(void) { vcard_add_prop(v, "tel;home", bstr("hometel")); vcard_add_prop(v, "tel;work", bstr("worktel")); vcard_add_prop(v, "tel;fax", bstr("faxtel")); - vcard_add_prop(v, "tel;mobile", bstr("mobiletel")); + vcard_add_prop(v, "tel;cell", bstr("mobiletel")); vcard_add_prop(v, "email;internet", bstr("primary_inetemail")); for (i=0; i