Commit 7a5811d9 authored by coltrane's avatar coltrane
Browse files

Sanitizing term description.

parent f0bb0273
......@@ -408,7 +408,7 @@ function ownterm_display($account) {
$rows = array();
while ($row = db_fetch_object($result)) {
$term = taxonomy_get_term($row->tid);
$rows[] = array('data' => array(l($term->name, 'taxonomy/term/'. $term->tid), $term->description), 'id' => 'uid-'. $account->uid);
$rows[] = array('data' => array(l($term->name, 'taxonomy/term/'. $term->tid), check_plain($term->description)), 'id' => 'uid-'. $account->uid);
}
if (count($rows) == 0) {
$rows[] = array(array('data' => t('You are not assigned to any blogs.'), 'colspan' => 2, 'id' => 'norecords'));
......
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