summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-15 12:19:57 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-15 12:19:57 +0000
commit5acbec27001aa382699cf144d9a953c9b725bc01 (patch)
tree40bbd0b28ed2214842056793d77fd426195bd1d3
parent394e7f2e2065fe62abadab057e7ae4a2d0a57d16 (diff)
downloadbrdo-5acbec27001aa382699cf144d9a953c9b725bc01.tar.gz
brdo-5acbec27001aa382699cf144d9a953c9b725bc01.tar.bz2
- Patch #604828 by bangpound: added missing check_plain() in theme_field_formatter_taxonomy_term_plain().
-rw-r--r--modules/taxonomy/taxonomy.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 7476f5588..b7423f124 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -1153,7 +1153,7 @@ function theme_field_formatter_taxonomy_term_link($variables) {
*/
function theme_field_formatter_taxonomy_term_plain($variables) {
$term = $variables['element']['#item']['taxonomy_term'];
- return $term->name;
+ return check_plain($term->name);
}
/**