mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-01 13:24:10 +01:00
You don't always have parameters in vcards!
This commit is contained in:
parent
e9dbc60409
commit
c5b8eb1b47
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user