1
0
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:
Jakob Sack 2011-08-09 15:00:10 +02:00
parent e9dbc60409
commit c5b8eb1b47

View File

@ -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);