Index: modules/taxonomy/taxonomy.pages.inc =================================================================== RCS file: /cvs/drupal/drupal/modules/taxonomy/taxonomy.pages.inc,v retrieving revision 1.51 diff -u -p -r1.51 taxonomy.pages.inc --- modules/taxonomy/taxonomy.pages.inc 10 Feb 2010 06:28:10 -0000 1.51 +++ modules/taxonomy/taxonomy.pages.inc 12 May 2010 07:49:33 -0000 @@ -28,12 +28,17 @@ function taxonomy_term_page($term) { $breadcrumb = array_reverse($breadcrumb); drupal_set_breadcrumb($breadcrumb); drupal_add_feed(url('taxonomy/term/' . $term->tid . '/feed'), 'RSS - ' . $term->name); - - $build['term_heading'] = array( - '#prefix' => '
', - '#suffix' => '
', - 'term' => taxonomy_term_view($term, 'full'), - ); + + $build = array(); + + // Only add a term heading if the term has a description + if (!empty($term->description)) { + $build['term_heading'] = array( + '#prefix' => '
', + '#suffix' => '
', + 'term' => taxonomy_term_view($term, 'full'), + ); + } if ($nids = taxonomy_select_nodes($term->tid, TRUE, variable_get('default_nodes_main', 10))) { $nodes = node_load_multiple($nids);