You don't always have parameters in vcards!
This commit is contained in:
parent
075db9f7ea
commit
6d1c266e1e
|
@ -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