summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/addproperty.php
diff options
context:
space:
mode:
authorMichiel@unhosted <michiel@unhosted.org>2011-10-09 17:13:34 +0200
committerMichiel@unhosted <michiel@unhosted.org>2011-10-09 17:13:34 +0200
commit6e62911a4ebeb16203cf88cd9b62da37b519ed62 (patch)
tree404f3c882c2c979c7433ab067bc793ae349fac0f /apps/contacts/ajax/addproperty.php
parentf4fb6356cd5d9143f59ad41425d74fb35bbe68fd (diff)
parent203f7a3a870964310060d82bdd61d14eb1613791 (diff)
downloadnextcloud-server-6e62911a4ebeb16203cf88cd9b62da37b519ed62.tar.gz
nextcloud-server-6e62911a4ebeb16203cf88cd9b62da37b519ed62.zip
Merge branch 'master' of gitorious.org:owncloud/owncloud
Diffstat (limited to 'apps/contacts/ajax/addproperty.php')
-rw-r--r--apps/contacts/ajax/addproperty.php2
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());