Skip to content
Snippets Groups Projects
Commit 6d1c266e authored by Jakob Sack's avatar Jakob Sack
Browse files

You don't always have parameters in vcards!

parent 075db9f7
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment