summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/deleteproperty.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/deleteproperty.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/deleteproperty.php')
-rw-r--r--apps/contacts/ajax/deleteproperty.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/ajax/deleteproperty.php b/apps/contacts/ajax/deleteproperty.php
index a9afffaad4c..ab0958cac58 100644
--- a/apps/contacts/ajax/deleteproperty.php
+++ b/apps/contacts/ajax/deleteproperty.php
@@ -39,7 +39,7 @@ if(is_null($line)){
unset($vcard->children[$line]);
-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 deleting contact property.'))));
OC_Log::write('contacts','ajax/deleteproperty.php: Error deleting contact property', OC_Log::ERROR);
exit();