diff options
Diffstat (limited to 'apps/contacts/ajax')
-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 35b4d122bda..d92566d6a18 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); |