Contacts: Also strip parameters.

This commit is contained in:
Thomas Tanghus 2012-05-11 18:15:59 +02:00
parent d98d72aa99
commit 08e0b6cf5e
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ if(!$value) {
debug('Adding parameter: '.$key);
foreach($parameter as $val) {
debug('Adding parameter: '.$key.'=>'.$val);
$vcard->children[$line]->add(new Sabre_VObject_Parameter($key, strtoupper($val)));
$vcard->children[$line]->add(new Sabre_VObject_Parameter($key, strtoupper(strip_tags($val))));
}
}
}