From 5f93a26eeada8a257b992a9fc9177eada4c4f343 Mon Sep 17 00:00:00 2001 From: macdonst Date: Wed, 30 May 2012 12:52:25 -0400 Subject: [PATCH] CB-844: Contact.find does not return urls --- framework/src/org/apache/cordova/ContactAccessorSdk5.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/src/org/apache/cordova/ContactAccessorSdk5.java b/framework/src/org/apache/cordova/ContactAccessorSdk5.java index 6adcf009..2237e7ee 100644 --- a/framework/src/org/apache/cordova/ContactAccessorSdk5.java +++ b/framework/src/org/apache/cordova/ContactAccessorSdk5.java @@ -437,14 +437,14 @@ public class ContactAccessorSdk5 extends ContactAccessor { contact.put("ims", ims); } if (websites.length() > 0) { - contact.put("websites", websites); + contact.put("urls", websites); } if (photos.length() > 0) { contact.put("photos", photos); } } catch (JSONException e) { - Log.e(LOG_TAG,e.getMessage(),e); + Log.e(LOG_TAG,e.getMessage(),e); } return contact; }