diff --git a/modules/taxonomy/taxonomy.pages.inc b/modules/taxonomy/taxonomy.pages.inc index 94dca76332d..d8b6655e8d7 100644 --- a/modules/taxonomy/taxonomy.pages.inc +++ b/modules/taxonomy/taxonomy.pages.inc @@ -91,9 +91,14 @@ function theme_taxonomy_term_page($tids, $result) { // Only display the description if we have a single term, to avoid clutter and confusion. if (count($tids) == 1) { $term = taxonomy_get_term($tids[0]); - $output .= '
'; - $output .= filter_xss_admin($term->description); - $output .= '
'; + $description = $term->description; + + // Check that a description is set. + if (!empty($description)) { + $output .= '
'; + $output .= filter_xss_admin($description); + $output .= '
'; + } } $output .= taxonomy_render_nodes($result);