diff --git a/apps/contacts/ajax/addproperty.php b/apps/contacts/ajax/addproperty.php index 35b4d122bda89d97ef4d83566d9e9b56fb600fb6..d92566d6a18d488120f596cfe64a5701c4d18efb 100644 --- a/apps/contacts/ajax/addproperty.php +++ b/apps/contacts/ajax/addproperty.php @@ -48,7 +48,7 @@ $vcard = Sabre_VObject_Reader::read($card['carddata']); $name = $_POST['name']; $value = $_POST['value']; -$parameters = $_POST['parameters']; +$parameters = isset($_POST['parameteres'])?$_POST['parameters']:array(); if(is_array($value)){ $value = OC_Contacts_Addressbook::escapeSemicolons($value);