You don't always have parameters in vcards!

This commit is contained in:
Jakob Sack 2011-08-09 15:00:10 +02:00
parent 075db9f7ea
commit 6d1c266e1e
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ $vcard = Sabre_VObject_Reader::read($card['carddata']);
$name = $_POST['name']; $name = $_POST['name'];
$value = $_POST['value']; $value = $_POST['value'];
$parameters = $_POST['parameters']; $parameters = isset($_POST['parameteres'])?$_POST['parameters']:array();
if(is_array($value)){ if(is_array($value)){
$value = OC_Contacts_Addressbook::escapeSemicolons($value); $value = OC_Contacts_Addressbook::escapeSemicolons($value);