summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/saveproperty.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-03-07 21:27:03 +0100
committerBart Visscher <bartv@thisnet.nl>2012-03-07 21:46:42 +0100
commit95995482034a607085d2cdc8000e5ea437c0cb1f (patch)
tree070a086071b4997c56341f2f68e6778b73492965 /apps/contacts/ajax/saveproperty.php
parentab760578f8141e5ab20345c2f84cb7a545c2e076 (diff)
downloadnextcloud-server-95995482034a607085d2cdc8000e5ea437c0cb1f.tar.gz
nextcloud-server-95995482034a607085d2cdc8000e5ea437c0cb1f.zip
Contacts: change card parameter type of VCard::edit and VCard::add
changed to OC_VObject
Diffstat (limited to 'apps/contacts/ajax/saveproperty.php')
-rw-r--r--apps/contacts/ajax/saveproperty.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/ajax/saveproperty.php b/apps/contacts/ajax/saveproperty.php
index 6f8366243fe..db209fedfc7 100644
--- a/apps/contacts/ajax/saveproperty.php
+++ b/apps/contacts/ajax/saveproperty.php
@@ -122,7 +122,7 @@ switch($element) {
$checksum = md5($vcard->children[$line]->serialize());
debug('New checksum: '.$checksum);
-if(!OC_Contacts_VCard::edit($id,$vcard->serialize())) {
+if(!OC_Contacts_VCard::edit($id,$vcard)) {
OC_JSON::error(array('data' => array('message' => OC_Contacts_App::$l10n->t('Error updating contact property.'))));
OC_Log::write('contacts','ajax/setproperty.php: Error updating contact property: '.$value, OC_Log::ERROR);
exit();