diff --git a/modules/taxonomy/taxonomy.pages.inc b/modules/taxonomy/taxonomy.pages.inc index aa3e68d..6fdb688 100644 --- a/modules/taxonomy/taxonomy.pages.inc +++ b/modules/taxonomy/taxonomy.pages.inc @@ -30,6 +30,7 @@ function taxonomy_term_page($str_tids = '', $depth = 0, $op = 'page') { switch ($op) { case 'page': // Build breadcrumb based on first hierarchy of first term: + $current = new stdClass(); $current->tid = $tids[0]; $breadcrumb = array(); while ($parents = taxonomy_get_parents($current->tid)) {