Browse Source

Contacts: Also strip parameters.

remotes/origin/stable4
Thomas Tanghus 14 years ago
parent
commit
08e0b6cf5e
  1. 2
      apps/contacts/ajax/saveproperty.php

2
apps/contacts/ajax/saveproperty.php

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

Loading…
Cancel
Save