From 6f887c541557f404fa55b4e1e1e50483bc46b6ef Mon Sep 17 00:00:00 2001 From: Silvio Date: Wed, 26 Mar 2014 16:36:05 -0300 Subject: Fix active_link parameter --- taxonomy_node_tree.module | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/taxonomy_node_tree.module b/taxonomy_node_tree.module index ba2989e..8f6b670 100644 --- a/taxonomy_node_tree.module +++ b/taxonomy_node_tree.module @@ -367,6 +367,7 @@ function taxonomy_node_tree_theme() { 'class' => NULL, 'baselink' => NULL, 'level' => NULL, + 'active_link' => NULL, ), 'function' => 'theme_taxonomy_node_tree_list', ), @@ -396,7 +397,7 @@ function taxonomy_node_tree_theme() { * @return * Rendered HTML tree. */ -function theme_taxonomy_node_tree_list($term, $id, $class, $baselink = NULL, &$level = NULL) { +function theme_taxonomy_node_tree_list($term, $id, $class, $baselink = NULL, &$level = NULL, $active_link = NULL) { if ($level == NULL) { $level = 0; @@ -411,7 +412,7 @@ function theme_taxonomy_node_tree_list($term, $id, $class, $baselink = NULL, &$l $output .= $term->name; $output .= ''; } -- cgit v1.2.3