Commit 438909ba authored by Dries's avatar Dries
Browse files

- Patch #669060 by Damien Tournoud: fixed SA-CORE-2009-009: contact category name XSS.

parent 2c24fd40
......@@ -24,8 +24,8 @@ function contact_category_list() {
// Loop through the categories and add them to the table.
foreach ($categories as $category) {
$rows[] = array(
$category->category,
$category->recipients,
check_plain($category->category),
check_plain($category->recipients),
($category->selected ? t('Yes') : t('No')),
l(t('Edit'), 'admin/structure/contact/edit/' . $category->cid),
l(t('Delete'), 'admin/structure/contact/delete/' . $category->cid),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment