diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-10-07 23:01:44 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-10-07 23:01:49 +0200 |
commit | a13d42fdaf5751afc42dff3770c6f9eb27a0a8ed (patch) | |
tree | e09aef17baba985c9de472c6f1a6643a602ab26b /apps/contacts/ajax/addproperty.php | |
parent | 46b8703b715230122a14548a229fc648077ca0fe (diff) | |
download | nextcloud-server-a13d42fdaf5751afc42dff3770c6f9eb27a0a8ed.tar.gz nextcloud-server-a13d42fdaf5751afc42dff3770c6f9eb27a0a8ed.zip |
Fixes for adding contact property
Diffstat (limited to 'apps/contacts/ajax/addproperty.php')
-rw-r--r-- | apps/contacts/ajax/addproperty.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/ajax/addproperty.php b/apps/contacts/ajax/addproperty.php index 68c4f65fa5c..101cfabbe84 100644 --- a/apps/contacts/ajax/addproperty.php +++ b/apps/contacts/ajax/addproperty.php @@ -53,7 +53,7 @@ $name = $_POST['name']; $value = $_POST['value']; $parameters = isset($_POST['parameteres'])?$_POST['parameters']:array(); -OC_Contacts_VCard::addVCardProperty($vcard, $name, $value, $parameters); +$property = OC_Contacts_VCard::addVCardProperty($vcard, $name, $value, $parameters); $line = count($vcard->children) - 1; $checksum = md5($property->serialize()); |